Web Hosting Talk







View Full Version : bizarre problem involving phpsuexec and sessions


phoenixheart
02-27-2005, 11:46 PM
Here's a good one:

Website is working fine. We decide to enable phpsuexec. Recompile apache.

Suddenly, formerly happy website is no longer happy. I load the website in IE, and see the following errors:


Warning: session_start(): open(/tmp/sess_28dda24d3f8863cebbb8243d6f60543d, O_RDWR) failed: Permission denied (13) in /home/syslist/public_html/Includes/global.inc.php on line 117

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/syslist/public_html/Includes/global.inc.php:117) in /home/syslist/public_html/Includes/global.inc.php on line 117

Warning: Unknown(): open(/tmp/sess_28dda24d3f8863cebbb8243d6f60543d, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


Now here's where it gets interesting: the sysadmin loads the website in Firefox and says he isn't getting any errors. Sure enough, I load firefox -- no errors.

How the heck is a server-side permission problem only visible in IE, not Firefox????

jameso
08-23-2005, 01:47 PM
Sorry for digging up this old thread, but I get a similar problem with sessions on my phpsexec enabled server.

No errors in firefox, but IE does weird things.

Did you manage to find a fix for this?