Results 1 to 3 of 3
Hybrid View
-
22nd Aug 2011, 10:29 AM #1OPMember
how to change PHP Server API to fast cgi ?
hello guys
anyone knows how to change PHP Server API to fast cgi
??chems Reviewed by chems on . how to change PHP Server API to fast cgi ? hello guys anyone knows how to change PHP Server API to fast cgi ?? Rating: 5Not Allowed
-
22nd Aug 2011, 10:30 AM #2BannedWebsite's:
servsilla.comDo the steps below:
Disable the php.conf file that is configured to run as Apache module:
# mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.module
Create the php.fcgi file in /var/www/cgi-bin with something like this:
#!/bin/bash
PHP_CGI=/usr/bin/php-cgi
exec $PHP_CGI
Modify the DocumentRoot or VirtualHost section to add the AddHandler and Action directive:
...
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
Credits to the serverfault.com
-
22nd Aug 2011, 11:30 AM #3OPMember
seems to be complicated
Not Allowed
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to change the Main IP in a Dedicated Server?
By penlau in forum Server ManagementReplies: 7Last Post: 22nd Apr 2012, 02:06 PM -
Server Only leech fast
By searcheu in forum Useful SitesReplies: 0Last Post: 19th Jun 2011, 07:52 PM -
Change File MD5 on Windows Server 2008
By viruz99 in forum General DiscussionReplies: 5Last Post: 27th May 2011, 07:41 PM -
Change IP Address on a Linux Server
By BlaZe in forum Technical and Security TutorialsReplies: 0Last Post: 23rd Oct 2009, 05:50 AM -
[Shared] Now Moster Server 8core 16GB DDR2 RAM Ultra fast server with litespeed webserver
By kiss of death in forum ArchiveReplies: 7Last Post: 19th Sep 2009, 02:44 AM
themaCreator - create posts from...
Version 3.51 released. Open older version (or...