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.

php fastcgi configuration?

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

  1. jmarcv

    jmarcv Member

    Jan 31, 2004
    Likes Received:
    Trophy Points:
    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/

    and I finally got this to run with no error
    # LibPHP5 configuration
    LoadModule php5_module modules/
    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?

Share This Page