Activity Stream
48,167 MEMBERS
64316 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3

Hybrid View

chems how to change PHP Server API to... 22nd Aug 2011, 10:29 AM
ServSilla Do the steps below: Disable the... 22nd Aug 2011, 10:30 AM
chems seems to be complicated :p 22nd Aug 2011, 11:30 AM
Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member

    Default 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: 5
    Not Allowed

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    servsilla.com
    Do 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

  4.     
    #3
    Member
    seems to be complicated
    Not Allowed

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to change the Main IP in a Dedicated Server?
    By penlau in forum Server Management
    Replies: 7
    Last Post: 22nd Apr 2012, 02:06 PM
  2. Server Only leech fast
    By searcheu in forum Useful Sites
    Replies: 0
    Last Post: 19th Jun 2011, 07:52 PM
  3. Change File MD5 on Windows Server 2008
    By viruz99 in forum General Discussion
    Replies: 5
    Last Post: 27th May 2011, 07:41 PM
  4. Change IP Address on a Linux Server
    By BlaZe in forum Technical and Security Tutorials
    Replies: 0
    Last Post: 23rd Oct 2009, 05:50 AM
  5. Replies: 7
    Last Post: 19th Sep 2009, 02:44 AM

Tags for this Thread

BE SOCIAL