Forum

php-fpm

Max
14 August 2013, 16:13
So I set up everything according to the HOWTO, but I can't manage to get PHP pages to work. I just end up with a 503 error.
Can someone please post working configuration files?
Max
16 August 2013, 11:08
Ok, 503 error is gone. But I get a blank "Access denied." page instead
Hugo Leisink
16 August 2013, 19:40
What does the error logfile say?
Max
16 August 2013, 20:31
0.0.0.0|Fri 16 Aug 2013 20:28:57 +0200|/usr/local/var/www/public/index.php|PHP message: PHP Warning: Unknown: open_basedir restriction in effect. File(/usr/local/var/www/public/index.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in Unknown on line 0|PHP message: PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0|Unable to open primary script: /usr/local/var/www/public/index.php (Permission denied)
Hugo Leisink
16 August 2013, 20:33
Looks like you found the cause of your issue.
Max
16 August 2013, 20:39
Well yeah... funny thing is, the logfile was empty until all the time. I deleted it and now I got some useful information
This topic has been closed.