PHP4 CGI & PHP5 CLI - Sessions issue on PHP4

apichault

Verified User
Joined
Jan 15, 2008
Messages
14
Hello,

My server configuration is:
Apache 2
PHP5 CLI
PHP4 CGI

On PHP4, when i use "session" i've got the following error:
Code:
Warning: session_start() [function.session-start]: open(/tmp/sess_d41d8cd98f00b204e9800998ecf8427e, O_RDWR) failed: Permission denied (13) in /home/xxxxxxx/domains
Can you help me ?

Thank you,

Antoine Pichault.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,341
Location
LT, EU
Try:
Code:
chmod 777 /tmp
If it does not work, try:
Code:
chown [B]user[/B]:[B]user[/B] /tmp/sess_d41d8cd98f00b204e9800998ecf8427e
 

apichault

Verified User
Joined
Jan 15, 2008
Messages
14
The second one fix the problem but create another one... a division by zero...
Maybe It's coming from script.

Thank you for your help.
 
Top