php - session_start() keeps the file load forever -
i'm using php xampp. php files work, if call session_start() in anywhere in script , run it, writing "waiting localhost" @ page title, , page loading forever, shows blank page , keeps loading.
i've tried enabling errors , no errors shown.
this runs:
<?php echo "test"; ?> this doesn't run (blank page , page loading forever)
<?php session_start(); echo "test"; ?> edit: due fred's suggestion, i'm posting session information phpinfo() result:
session support enabled registered save handlers files user registered serializer handlers php php_binary wddx session.auto_start off off session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_httponly off off session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure off off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 1000 1000 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.hash_bits_per_character 5 5 session.hash_function 0 0 session.name phpsessid phpsessid session.referer_check no value no value session.save_handler files files session.save_path c:\xampp2\tmp c:\xampp2\tmp session.serialize_handler php php session.upload_progress.cleanup on on session.upload_progress.enabled on on session.upload_progress.freq 1% 1% session.upload_progress.min_freq 1 1 session.upload_progress.name php_session_upload_progress php_session_upload_progress session.upload_progress.prefix upload_progress_ upload_progress_ session.use_cookies on on session.use_only_cookies off off session.use_trans_sid 0 0
having looked on own environment appears glitch in xampp software stack itself, receive errors in system error log indicating child process exited long status code followed restarting. not php related fault, rather fault implementation in xampp. have forwarded details of error bitnami development member of project , able resolve , release updated version, in meantime recommend using wamp.
Comments
Post a Comment