Ok, now I have logs
debian squeeze and ispconfig 3.0.4.3
domain is obscured with xxx.xx
this is suexec.log
Code:
[2012-03-25 13:00:49]: uid: (1006/web5) gid: (1014/client34) cmd: .php-fcgi-starter
[2012-03-25 13:00:49]: (13)Permission denied: exec failed (.php-fcgi-starter)
these are the rights i setupped:
Code:
/var/www/clients/client34/web5 # ls -la
total 104
drwxr-x--x 6 web5 client34 4096 Mar 25 00:46 .
drwxr-xr-x 7 root root 4096 Mar 15 17:42 ..
-rw------- 1 web5 client34 14 Mar 12 17:29 .ftpquota
-rwxr-xr-x 1 root root 40 Oct 23 14:31 .htpasswd_stats
lrwxrwxrwx 1 root root 16 Mar 25 00:46 backup -> /var/backup/web5
drwxr-x--x 2 web5 client34 4096 Oct 17 18:07 cgi-bin
lrwxrwxrwx 1 web5 client34 40 Oct 17 18:07 log -> /var/log/ispconfig/httpd/xxx.xx
drwxr-x--x 2 web5 client34 4096 Oct 17 18:07 ssl
drwxrwxrwx 2 web5 client34 77824 Mar 25 12:04 tmp
drwxr-x--- 8 web5 client34 4096 Mar 12 17:29 web
then
Code:
chown -R web5:client34 ./web
chmod -R 750 ./web
error_log
Code:
[Sun Mar 25 14:01:52 2012] [warn] [client 79.33.66.85] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sun Mar 25 14:01:52 2012] [error] [client 79.33.66.85] Premature end of script headers: index.php
this is /var/www/php-fcgi-scripts/web5/.php-fcgi-starter
Code:
ls -la /var/www/php-fcgi-scripts/web5/.php-fcgi-starter
-rwxr-xr-x 1 web5 client34 768 Mar 25 14:00 /var/www/php-fcgi-scripts/web5/.php-fcgi-starter
cat /var/www/php-fcgi-scripts/web5/.php-fcgi-starter
#!/bin/sh
PHPRC="/etc/php5/cgi/"
export PHPRC
PHP_DOCUMENT_ROOT="/var/www/clients/client34/web5"
export PHP_DOCUMENT_ROOT
# The variable PHP_FCGI_CHILDREN is onyl useful for lighty or nginx as apache
# mod_fcgi will control the number of childs themself and never use the additional processes.
# PHP_FCGI_CHILDREN=8
# export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php-cgi \
-d open_basedir="/var/www/clients/client34/web5/web:/var/www/clients/client34/web5/tmp:/var/www/xxx.xx/web:/srv/www/xxx.xx/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin" \
-d upload_tmp_dir=/var/www/clients/client34/web5/tmp \
-d session.save_path=/var/www/clients/client34/web5/tmp \
$1
/var/www/php-fcgi-scripts/web5/.php-fcgi-starter (END)
this is index.php
Code:
ls -la web/index.php
-rwxr-x--- 1 web5 client34 397 Mar 12 17:12 web/index.php
with chmod 755 still the same error:
Code:
/var/www/clients/client34/web5 # chmod -R 755 web/
[2012-03-25 14:32:51]: uid: (1006/web5) gid: (1014/client34) cmd: .php-fcgi-starter
[2012-03-25 14:32:51]: (13)Permission denied: exec failed (.php-fcgi-starter)
[2012-03-25 14:36:18]: uid: (1006/web5) gid: (1014/client34) cmd: .php-fcgi-starter
[2012-03-25 14:36:18]: (13)Permission denied: exec failed (.php-fcgi-starter)
Question is:
what are the correct rights?
Recent comments
22 hours 56 min ago
1 day 5 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 19 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 9 hours ago
2 days 13 hours ago
2 days 14 hours ago