php blanco Posted August 7, 2007 Share Posted August 7, 2007 Hello, I recently installed PHP and MySQL. After setting up a local IIS/CGI web server, I created a basic php user login page. I tested the page and the following error appeared at the bottom. Can anyone help me understand what I need to fix? login PHP Warning: Module 'mysql' already loaded in Unknown on line 0 PHP Warning: Unknown: open(C:\DOCUME~1\sysop\LOCALS~1\Temp\php\session\sess_8kgbupgee2gcpi5iu625846025, O_RDWR) failed: Permission denied (13) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\sysop\LOCALS~1\Temp\php\session) in Unknown on line 0 thanks, blanco Quote Link to comment https://forums.phpfreaks.com/topic/63656-solved-trying-to-understand-php-warning/ Share on other sites More sharing options...
s0c0 Posted August 7, 2007 Share Posted August 7, 2007 Not sure, I use PHP/MySQL on linux like it was meant to be. Perhaps your error/warning settings in your php.ini file are set to high...does the login for work, but just displays an error at the bottom? Quote Link to comment https://forums.phpfreaks.com/topic/63656-solved-trying-to-understand-php-warning/#findComment-317322 Share on other sites More sharing options...
hvle Posted August 7, 2007 Share Posted August 7, 2007 your solution can be solved 2 ways: 1. edit the php.ini file and change session.use_cookies = 1 and session.cookie_httponly = 1 This method is unsecure because it store session data on client machine 2. make a directory anywhere on your drive and set the session save path: session.save_path = "that directory" make sure everybody has the write permission on that directory. Quote Link to comment https://forums.phpfreaks.com/topic/63656-solved-trying-to-understand-php-warning/#findComment-317331 Share on other sites More sharing options...
php blanco Posted August 8, 2007 Author Share Posted August 8, 2007 Thanks for the help. I figured the problem was in the php.ini file but I wasn't positive what the change needed to be. Thanks again! -blanco Quote Link to comment https://forums.phpfreaks.com/topic/63656-solved-trying-to-understand-php-warning/#findComment-318057 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.