Forum

503 service unavailble

frusturated
23 May 2010, 20:57


Hiawatha version: 7,2 (latest)
Operating System: ubuntu

No matter what I do I can not get hiawatha to work with .php files. First I got permissions errors with them, then internal errors. Now I am stuck on 503 service unavailble errors. I think I have everything configured correctly or pretty close, I read the manuals and followed all the advice I could find on the subject but even after multiple hours of focusing on this problem I can't even begin to think of what is wrong.

ps -a

php5-cgi
ps


config file:

# COMMON GATEWAY INTERFACE (CGI) SETTINGS
# These settings can be used to run CGI applications. Use the 'php-fcgi'
# tool to start PHP as a FastCGI daemon.
#
#CGIhandler = /usr/bin/perl:pl
CGIhandler = /usr/bin/php5-cgi:php,php5
#CGIhandler = /usr/bin/python:py
#CGIhandler = /usr/bin/ruby:rb
CGIhandler = /usr/bin/ssi-cgi:shtml
CGIextension = cgi
ExecuteCGI = yes
UseFastCGI = PHP5
17549 pts/1 00:00:00




#
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php, php5
SessionTimeout = 10
}



/var/log/hiawatha/error.log :

cgi timeout




php-fcgi has been starting just fine

ps output:

ps
bash



Please help this is driving me crazy!

Hugo Leisink
23 May 2010, 23:01
Try to run PHP without FastCGI first. Besides the manual, have you read the HOWTO pages?
This topic has been closed.