Hello,
I installed hardy server. I get an error from my php scripts fopen() permission denied.
Exactly what are the commands I need to
1) enable apache to read/write to /var/www and
2) enable myself (jean) to write there (I don't like to chmod files everytime I create something).
Probably some chown stuff but what exactly?
Thanks.
Info:
contents of /etc/apache2/envvars
I installed hardy server. I get an error from my php scripts fopen() permission denied.
Exactly what are the commands I need to
1) enable apache to read/write to /var/www and
2) enable myself (jean) to write there (I don't like to chmod files everytime I create something).
Probably some chown stuff but what exactly?
Thanks.
Info:
Code:
jean@server:~$ l /var/www total 26316 -rwxr-xr-x 1 nobody nogroup 475 2006-06-18 22:51 404.html -rwxr-xr-x 1 nobody nogroup 766 2000-08-09 18:50 favicon.ico -rwxr-xr-x 1 nobody nogroup 711 2008-07-27 04:21 .htaccess etc.
Code:
export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data export APACHE_PID_FILE=/var/run/apache2.pid
Comment