I've installed the
mod_fastcgi on my Apache and put LoadModule into my
When I do a
mod_fastcgi is in the loaded modules section, but the server API still shows up as Apache 2.0.
How do I change this?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Do the steps below:
php.conffile that is configured to run as Apache module:
# mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.module
/var/www/cgi-binwith something like this:
#!/bin/bash PHP_CGI=/usr/bin/php-cgi exec $PHP_CGI
VirtualHostsection to add the
... AddHandler php5-fastcgi .php Action php5-fastcgi /cgi-bin/php.fcgi ...
Testing with phpinfo():
# lynx -dump http://localhost/info.php | grep 'Server API' Server API CGI/FastCGI