Steve Butzel wrote:

I have set the session.save_path (in my php.ini-recommended AND php.ini-dist
file) to c:\php4\sess\tmp. I have also created those directories
accordingly.

However, when I try to browse a very simple .php file (see below) that
includes session_start(): I am getting the following error messages:
Warning: session_start(): open(/tmp\sess_09ecd436e04fa9e49bc155300154ad63,
O_RDWR) failed: No such file or directory (2) in c:\program files\apache
group\apache\htdocs\practice\movie1.php on line 2

It appears that Apache/PHP still thinks the session.save_path is /tmp, even
though I changed this in php.ini-recommended and php.ini-dist. **What am I
doing wrong?**


Thanks, Steve [EMAIL PROTECTED]

The php.ini file is usually called, well, php.ini, not php.ini-recommended or php.ini-dist and you would normally copy/rename one of them. Unless you have specifically configured php when compiling it to use something different it will expect the configuration file to be called php.ini.

If you point your browser at the output of a phpinfo.php file (containing "<?php phpinfo(); ?>") then one of things it will show you is the name and where it expects to find the configuration file.

Regards

Chris

Reply via email to