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

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

  1. dennismv

    dennismv Member

    Joined:
    Sep 8, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page