The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Suphp to Fast cgi how to?

Discussion in 'General Discussion' started by ASTRAPI, Nov 27, 2009.

  1. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Hello

    How can i go from suphp to fast cgi?

    Thank you
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If your last EasyApache build profile had the FastCGI options enabled when compiling Apache and PHP then you may use that as the PHP request handler. The switch is performed via WHM or via CLI, as described below:

    Menu path, WHM: Main >> Service Configuration >> Apache Configuration >> PHP and SuExec Configuration

    Or, the same operations can be performed using the following script via root SSH access:
    Code:
    # /usr/local/cpanel/bin/rebuild_phpconf
    Related documentation:
    ApachePHPRequestHandling < EasyApache3 < TWiki
    Configure PHP and SuExec
    Configuring PHP and SuExec from the Command Line
    Apache & cPanel/WHM
     
  3. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Ok i was change the php handler from suphp to cgi and also i set suphp to off.

    But is that option cgi means fast cgi?
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If only "CGI" is seen in the drop-down menu, then it will be necessary to run EasyApache to add support for "FastCGI" by selecting/enabling the desired FCGID/FastCGI build options for Apache and PHP.

    These may be found in the Exhaustive list of options when using EasyApache.

    EasyApache can be run via your root WHM control panel, or it can be run via root SSH Access, as described below:

    Here is the menu path to run EasyApache via your root WHM control panel:
    WHM: Main >> Software >> EasyApache (Apache Update)

    Here is the command to run EasyApache via root SSH access:
    Code:
    # /scripts/easyapache
     
  5. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Ok thanks :)
     
Loading...

Share This Page