php failed to run

2012-12-04 Thread Luya Tshimbalanga
Hello all, After installing both httpd and php and setting a UserDir to enable public_html, I encountered an issue with php which failed to run despite its presence. Here is the conf userdir.conf # # Control access to UserDir directories. The following is an example # for a site where

Re: php failed to run

2012-12-04 Thread Adam Williamson
On Tue, 2012-12-04 at 11:38 -0800, Luya Tshimbalanga wrote: Hello all, After installing both httpd and php and setting a UserDir to enable public_html, I encountered an issue with php which failed to run despite its presence. Here is the conf What error message do you get? Did you check

Re: php failed to run

2012-12-04 Thread Luya Tshimbalanga
On Tue 04 Dec 2012 11:45:39 AM PST, Adam Williamson wrote: What error message do you get? Did you check if it's SELinux? (Easy way to check - 'setenforce Permissive', try again, see if it works. If it does, the correct conclusion is not 'oh well, I'll just run in permissive mode forever' but

Re: php failed to run

2012-12-04 Thread Adam Williamson
On Tue, 2012-12-04 at 12:49 -0800, Luya Tshimbalanga wrote: On Tue 04 Dec 2012 11:45:39 AM PST, Adam Williamson wrote: What error message do you get? Did you check if it's SELinux? (Easy way to check - 'setenforce Permissive', try again, see if it works. If it does, the correct conclusion

Re: php failed to run

2012-12-04 Thread Adam Williamson
On Tue, 2012-12-04 at 19:20 -0800, Luya Tshimbalanga wrote: [Mon Dec 03 17:16:52.319181 2012] [autoindex:error] [pid 5233] [client 127.0.0.1:38664] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index

Re: php failed to run

2012-12-04 Thread Luya Tshimbalanga
On Tue 04 Dec 2012 09:17:03 PM PST, Adam Williamson wrote: On Tue, 2012-12-04 at 19:20 -0800, Luya Tshimbalanga wrote: [Mon Dec 03 17:16:52.319181 2012] [autoindex:error] [pid 5233] [client 127.0.0.1:38664] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex