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.

HTTPD and PHP

Discussion in 'General Discussion' started by xaze, Jun 12, 2004.

  1. xaze

    xaze Well-Known Member

    Joined:
    Jul 10, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I have two question:

    1. Why are there so many config files (httpd.conf, httpd.conf.suexec, etc..) in /usr/local/apache/conf?

    2. Where is the php config file kept at on the typical server? I need to change the php execution time and I cannot find it for the life of me.
     
  2. xaze

    xaze Well-Known Member

    Joined:
    Jul 10, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Also, if I have a PHP intensive site that has lots of traffic (on its own server), should I disable the suexec thing? Will that speed it up?

    Thanks
     
  3. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    Suexec only effects cgi / perl applications, not php. php-suexec is separate, and is compiled in your apache config, but is not installed by default. If you installed the php-suexec and its a dedicated server, then there is probably no need to have it installed.... I dont know for sure, but I would imaging removing the php-suexec may speed up the php apps.

    Location for your php config depends on your install (if you have zend or not), etc.
    Here is a test script that will show the location of your php config (as well as other php info):

    http://www.htmlite.com/php003.php
     
    #3 compunet2, Jun 12, 2004
    Last edited: Jun 12, 2004
Loading...

Share This Page