Forum

A problem with php-fcgi

anonymous
8 October 2010, 11:33
Hiawatha version: 7.3- latest for the moment
Operating System: CentOS (x86_64)

Hi all. I have a problem with the php-fcgi. I installed the Hiawatha on my CentOS box. PHP5 is installed and works as well.
Install was made with no errors; HTML content shows up normaly. I wanted to include PHP5 support to run my scripts as discribed in the HowTo. I edited the config file php-fcgi.conf and now it looks like this:

PidFile = /var/run/php-fcgi.pid

Server = /usr/bin/php5-cgi ; 127.0.0.1:54321 ; www-data


Now: php-fcgi

invalid user www-data
Segmentation fault


When I tried to place root as a user it says the same:

invalid user root
Segmentation fault


If I try to point my Firefox to my site I have a black page with 503 (which is Predictable because php-fcgi didn't start).
What's wrong with it?
Sorry if it is a silly question, but I'm very new to this web server.
Hugo Leisink
8 October 2010, 12:21
It looks like the user www-data is not present on your system. Under which user is Hiawatha running? Use that username instead of www-data in your php-fcgi configuration.

And in my opinion questions are never silly. Only stupid answers are.
This topic has been closed.