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.ini

Discussion in 'General Discussion' started by dashi, Nov 3, 2007.

  1. dashi

    dashi Member

    Joined:
    Aug 9, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Please explain what option I must use to configure apache and php
    if I want use deferent php.ini in each directory.
    in old version I have no problem with it


    WHM 11.11.0 cPanel 11.15.0-R17853
    CENTOS Enterprise 4.5 i686 on standard - WHM X v3.1.0
    apache 1.3
    php 4
     
  2. ToddShipway

    ToddShipway Well-Known Member

    Joined:
    Nov 13, 2006
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    You will need to enabled suPHP within easyapache to allow each suer to use their own php.ini
     
  3. dashi

    dashi Member

    Joined:
    Aug 9, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Mod SuPHP enabled but still have no luck :(
     
  4. BlueZebra

    BlueZebra Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Recompiling PHP as cgi will do this. You can do this using easy apache
     
  5. dashi

    dashi Member

    Joined:
    Aug 9, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I nstalled 2 php versions 4 and 5 use easy apache
    All of them are in CGI mode.
    php5 with wrapper reads php.ini fine as I expected, but php4 reads php.ini only from default PATH
     
Loading...

Share This Page