Hi,
Can anyone help me how to set up www/hiawatha web-server with lang/php5 and FastCGI?
I have tried changing my hiawatha.conf like this but no success:
and /usr/local/etc/hiawatha/php-fcgi.conf
My browser downloads the index.php instead of displaying it when I try to access my domain.
Can anyone help me how to set up www/hiawatha web-server with lang/php5 and FastCGI?
I have tried changing my hiawatha.conf like this but no success:
Code:
Hostname = 127.0.0.1
WebsiteRoot = /usr/local/www/hiawatha
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
#ErrorHandler = 404:/error.cgi
and /usr/local/etc/hiawatha/php-fcgi.conf
Code:
PidFile = /var/run/php-fcgi.pid
MaxRequests = 100
Server = /usr/local/bin/php-cgi ; 4 ; /var/lib/hiawatha/php-fcgi.sock ; www:www ; /usr/local/etc/php.ini
My browser downloads the index.php instead of displaying it when I try to access my domain.