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 module

Discussion in 'General Discussion' started by mehrdad abed, Jul 4, 2006.

  1. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    I want to change an account php options through apache and file /etc/httpd/conf/httpd.conf. but it doesnt work, for example i added these lines :

    <ifModule mod_php4.c>
    php_value upload_max_filesize 25M
    php_value max_execution_time 0
    </IfModule>
    <ifModule mod_php5.c>
    php_value upload_max_filesize 25M
    php_value max_execution_time 0
    </IfModule>

    Why does easy apache disable mod_php ?:
    .
    .
    .
    <IfDefine SSL>
    AddModule mod_ssl.c
    </IfDefine>
    AddModule mod_frontpage.c
    #AddModule mod_php4.c
    #AddModule mod_php5.c

    AddModule mod_bwlimited.c
    .
    .
    .


    does it confilict with another service ? my linux core is 2.2, may it be the reason?
     
    #1 mehrdad abed, Jul 4, 2006
    Last edited: Jul 5, 2006
  2. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    please, may some one help ?
     
  3. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Are you selecting the required option while compiling apache through easyapache. You may need to select php so that apache will compile with php and that module will not be commented.

    I dont think that this will affect other services
     
  4. mehrdad abed

    mehrdad abed Well-Known Member

    Joined:
    Mar 18, 2006
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Figured it out.
     
  5. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Great!!

    :D
     
Loading...

Share This Page