mimic
Verified User
Hello!
Since a few weeks ago, we're getting errors when we try to run our customers in safe_mode.
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 1038 is not allowed to access /tmp owned by uid 0 in /home/--customer--/domains/---domainname---/public_html/config/config.php on line 26
We'd like to run our customers in safe_mode, because some can have faulty php-scripts, which can compromise the server's security.
We had to disable safe_mode on all domains to ensure good working of the sites that use the session_start() function.
As a test, i've chmodded /tmp to 777, but that didn't help.
drwxrwxrwt 4 root root 217088 2010-08-12 11:21 tmp
When the domain is not in safe_mode, the sessions can be created.
And, I'm not completely sure, we run php chrooted.
Where do I begin to resolve this matter?
Since a few weeks ago, we're getting errors when we try to run our customers in safe_mode.
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 1038 is not allowed to access /tmp owned by uid 0 in /home/--customer--/domains/---domainname---/public_html/config/config.php on line 26
We'd like to run our customers in safe_mode, because some can have faulty php-scripts, which can compromise the server's security.
We had to disable safe_mode on all domains to ensure good working of the sites that use the session_start() function.
As a test, i've chmodded /tmp to 777, but that didn't help.
drwxrwxrwt 4 root root 217088 2010-08-12 11:21 tmp
When the domain is not in safe_mode, the sessions can be created.
And, I'm not completely sure, we run php chrooted.
Where do I begin to resolve this matter?