Help with PHP and APACHE

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-09-2005
neilphan@gmail.com
 
Posts: n/a
Default Help with PHP and APACHE

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.

Reply With Quote
  #2 (permalink)  
Old 02-09-2005
Franck Nijhof - BlueSolid Software
 
Posts: n/a
Default Re: Help with PHP and APACHE

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0