|
Posted by Charlie on 12/15/05 15:04
On Wed, 14 Dec 2005 20:41:43 +0100, "J2be" <info@nospamj2be.com>
wrote:
>
>"Charlie" <user@usa.net> wrote in message
>news:rca0q11p4tvakinfo0m2ug9h9gl45r3h4h@4ax.com...
>> Hello
>>
>> I'm in desperate need of help. I can't get PHP sessions to work
>> because session.save_path isn't set for some reason. phpinfo() reports
>> that session.save_path = "No Value". I have WinXP Pro, Apache 2.0.55
>> and PHP 4.4.0 server configuration.
>>
>> No matter what I put in session.save_path in php.ini, I just keeps
>> saying session.save_path = "No Value". Have tried "c:/windows/temp",
>> "c:\\windows\\temp", "c:/temp" with and without the quotes but to no
>> avail.
>>
>> I've restarted Apache server each time after modifying the ini. Also
>> the php.ini path reported by phpinfo() seems point to the correct
>> file.
>>
>> TIA.
>
>Make sure that you are editing the right php.ini
>
>
phpinfo() says it's using the same ini I edited. There's no other
php.ini files on my system. Workaround that seems to work (albeit
ugly) is to call session_save_path() each time before session_start()
from the PHP script.
Navigation:
[Reply to this message]
|