apache read/write permissions

Discussion in 'Server Operation' started by badben, Jul 20, 2006.

  1. badben

    badben ISPConfig Developer ISPConfig Developer

    How can I check if apache has read write permissions to the /tmp directory?

    I am using mandrake 10.2

    I keep getting the following error on my script and I know the databse connection script is working fine.

    Warning: session_start(): open(/tmp/sess_0c9686773fc94eaab7883435ba89ad01, O_RDWR) failed: Permission denied (13) in /home/www/web1/web/hvac/testphprunner/login.php on line 4
    Does anybody have any ideas?
  2. falko

    falko Super Moderator ISPConfig Developer

    Under which user and group is your Apache running? You can find out by having a look at the Apache configuration, there is a User and Group directive.

    What's the output of
    ls -l /
    Is PHP Safe Mode enabled or disabled for that web site?

Share This Page