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. |
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 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 |
Correct, my system is running Ubuntu.. I will check what you wrote.
|
Slava: Thanks alot. suexec-custom solved my problems.
|
All times are GMT +2. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.