LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php failed: Permission denied (13) in (https://www.linuxquestions.org/questions/linux-software-2/php-failed-permission-denied-13-in-424798/)

rino.caldelli 03-14-2006 02:24 PM

php failed: Permission denied (13) in
 
Anyone can help with this output of php with apache??
the save session path is writable and existing...!!! everything fine but..???

Code:

Warning: session_start() [function.session-start]: open(/root/tmp/sess_56da99fb92aebb9afe3873aa75f1344c, O_RDWR) failed: Permission denied (13) in /usr/local/apache2/htdocs/index.php on line 77

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/apache2/htdocs/index.php:77) in /usr/local/apache2/htdocs/index.php on line 77

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache2/htdocs/index.php:77) in /usr/local/apache2/htdocs/index.php on line 77


Warning: Unknown: open(/root/tmp/sess_56da99fb92aebb9afe3873aa75f1344c, 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 () in Unknown on line 0


spooon 03-14-2006 04:04 PM

That's interesting; it's trying to write in /root/tmp when it should probably be writing in the /tmp directory. I dunno much about PHP; but you might try to figure out why it does that and fix it.

rino.caldelli 03-18-2006 11:25 AM

Quote:

Originally Posted by spooon
That's interesting; it's trying to write in /root/tmp when it should probably be writing in the /tmp directory. I dunno much about PHP; but you might try to figure out why it does that and fix it.

It hadn't anything to do with the installation.. it was just a function which changed specs from perl older version to newer... So I just changed perl script and everything worked fine.. the /tmp warning was quite disguising!


All times are GMT -5. The time now is 09:32 PM.