Forum Moderators: coopster
I have just used a script that includes the first line
session_start();
On my computer where I have apache php and mysql installed I get the error:
Warning: session_start(): open(/tmp\sess_4e8a9cf51a21ab1c9fe26630d5446262, O_RDWR) failed: No such file or directory (2) in c:\server\apache\htdocs\ma\index.php on line 2
But when I upload it to my host the page works without errors. Is there a problem with my apache setup or is it a php thing?
Thank you
sorry if this should be in the php forum.
For those who read this looking for the answer you need to go to php.ini and change the location of the /tmp/ file to an actuall location on your computer eg: c:/temp/
Thank you again.