This is a discussion on Help with PHP and APACHE within the PHP Language forums, part of the PHP Programming Forums category; Hi guys, I'm using PHP and Apache. How do you configure Apache so that it allows the use of ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi guys,
I'm using PHP and Apache. How do you configure Apache so that it allows the use of php and session data. I get the following error: Warning: session_start(): open(/tmp\sess_ed0b0c6b9b2d32d64172373bd8a6bcaf, O_RDWR) failed: No such file or directory (2) in c:\orcl_as\apache\apache\htdocs\forum\userauth.php on line 5 On my php.ini file, i specifiy that location of for the session data to session.save_path = "C:/temp" Any suggestions? I've used the same code and configuration with IIS and nothing is wrong. Just when I use php with apache, it gives this error. Please Help and Thank You in ADVANCE. |
|
|||
|
neilphan@gmail.com wrote:
> Hi guys, > I'm using PHP and Apache. How do you configure Apache so that it > allows the use of php and session data. I get the following error: > > Warning: session_start(): > open(/tmp\sess_ed0b0c6b9b2d32d64172373bd8a6bcaf, O_RDWR) failed: No > such file or directory (2) in > c:\orcl_as\apache\apache\htdocs\forum\userauth.php on line 5 > > On my php.ini file, i specifiy that location of for the session data to > session.save_path = "C:/temp" > > Any suggestions? I've used the same code and configuration with IIS > and nothing is wrong. Just when I use php with apache, it gives this > error. > > Please Help and Thank You in ADVANCE. > Probably you php.ini file is not loaded by apache. Please run phpinfo() to check it. If it's not loaded, please copy php.ini to your windows directory en restart apache. Franck Nijhof BlueSolid Software |