php session_start permission denied
Warning: sessionstart() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/longschapelcc.org/publichtml/ministry.php:1) in /var/www/longschapelcc.org/public_html/ministry.php on line 1
Warning: sessionstart() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/longschapelcc.org/publichtml/ministry.php:1) in /var/www/longschapelcc.org/public_html/ministry.php on line 1
This dir /var/www/longschapelcc.org/ has been chown -R root:root already.
Any thoughts on why I'm getting this permission denied?
2 Replies
I also set the ownership of /var/lib/php5/ to www-data
and the errors are gone now. /var/lib/php5 was initial set to root:root