I've installed the mod_fastcgi on my Apache and put LoadModule into my httpd.conf file. When I do a phpinfo(), mod_fastcgi is in the loaded modules section, but the server API still shows up as Apache 2.0. Please let me know how to change this.
migrated from stackoverflow.com Mar 12 '11 at 23:55
This question came from our site for professional and enthusiast programmers.
Do the steps below:
# mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.module
#!/bin/bash PHP_CGI=/usr/bin/php-cgi exec $PHP_CGI
... AddHandler php5-fastcgi .php Action php5-fastcgi /cgi-bin/php.fcgi ...
Testing with phpinfo():