Hello Hugo,
Been using Hiawatha for a while and still kicking strong. While Hiawatha is not at fault here (I am able to go to a non php virtual host - the default one - and it works SSL and all) I can't however access my php sites. I keep getting a "can't connect to FastCGI server PHP5" in my hiawatha system log files.
I take a look at the php-fpm process and it is in fact running (I have it set a static config with 4 child processes) :
ps aux | grep php
root 1042 0.0 0.3 98900 11624 ? Ss 06:42 0:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data 1074 0.0 0.0 98900 2936 ? S 06:42 0:00 php-fpm: pool www
www-data 1075 0.0 0.0 98900 2936 ? S 06:42 0:00 php-fpm: pool www
www-data 1076 0.0 0.0 98900 2936 ? S 06:42 0:00 php-fpm: pool www
www-data 1077 0.0 0.0 98900 2936 ? S 06:42 0:00 php-fpm: pool www
rixa 3469 0.0 0.0 5672 832 pts/3 S+ 07:48 0:00 grep --color=auto php
each child process is owned by the same user as hiawatha is (www-data - ServerId = www-data)
Looking inside the hiawatha file I have set up the php fcgi like so :
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:9000
Extension = php
}
Within the www. conf for the FPM the config settings are like so:
; Unix user/group of processes
; Note: The user is mandatory. If the group is not set, the default user's group
; will be used.
user = www-data
group = www-data
listen.owner = www-data
listen.group = www-data
listen.mode = 0666
listen.allowed_clients = 127.0.0.1
I am quite confused as to what could be causing the problem. Any tips would be very helpful.
Hiawatha version: 9.3
Operating System: Lubuntu 13.10