08-30-2011, 12:32 PM | #1 |
Junior Member
Join Date: Apr 2011
Posts: 14
|
apache2 +suexec
Hi, im been running apache2 and php5 as a module for my customers, then i realise that suexec aint working. changed over to php as cgi and now all pages get error 500, here is what the suexeclog says
[2011-08-30 11:25:11]: uid: (1021/futureon) gid: (1012/futureon) cmd: php [2011-08-30 11:25:11]: command not in docroot (/home/futureon/data/php-bin/php) Any ideas howto solve? or get suexec working with php as module. |
08-30-2011, 12:57 PM | #2 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
Hello,
what system you have (I think Debian or Ubuntu Linux?) You should place files in suexec docroot i.e. Code:
root@debian:~# /usr/lib/apache2/suexec -V -D AP_DOC_ROOT="/var/www" Code:
path DefaultHomeDir /var/www Or install and configure apache2-suexec-custom package for AP_DOC_ROOT="/home" or "/" in /etc/apache2/suexec/www-data file |
|
|