Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php fastcgi configuration?

Discussion in 'General Discussion' started by jmarcv, Dec 22, 2007.

  1. jmarcv

    jmarcv Member

    Joined:
    Jan 31, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    co
    Where are the docs on this? The link to mod_fcgi in the easyapache 3 docs do not work. But like the 8,563 sites I visited, I suspect most of it wont work in the cPanel config.

    I have apache 2.2, php 5 installed. By accident I foundn a script in /scripts that loads this:
    LoadModule fcgid_module modules/mod_fcgid.so

    and I finally got this to run with no error
    # LibPHP5 configuration
    LoadModule php5_module modules/libphp5.so
    AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml


    AddHandler fcgid-script .fcgi
    SocketPath /tmp/fcgid.sock
    IdleTimeout 60
    ProcessLifeTime 6000
    MaxProcessCount 32
    DefaultMaxClassProcessCount 2
    IPCConnectTimeout 6
    IPCCommTimeout 6

    Action application/x-httpd-php /php5.fcgi

    ... and I created a php5.fcgi I borrowed, but I am clueless as to what I am doing and how to tell if any of this is working. I do not see any difference in page execution.

    Any docs-tutorials that actually work with what ea3 has built?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice