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 and apache

Discussion in 'EasyApache' started by dennismv, Sep 20, 2007.

  1. dennismv

    dennismv Member

    Sep 8, 2004
    Likes Received:
    Trophy Points:
    I am running apache+php+suexec

    and I've noticed that for each php request, php starts a new interpreter.

    How inefficient.

    Can I go "mod_perl" way where php compiler runs once and executes all the php files through it ?

    Does anybody know if what I want done is possible ?
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What you are talking about sounds like FastCGI. To over-simplify the concept: it is where an interpreter stays resident in memory rather than spawning a new interpreter for every script.

    Apache 2 does have support for FastCGI as well as PHP 4 and 5 (if you enable the appropriate modules for each). If you have CURRENT, you can compile these options in WHM -> Software -> Apache Update and when you get to Profile :: Apache :: PHP Main :: PHP Specific :: Basic click on "Advanced Configuration" and select the options for FastCGI.

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