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.

Which php.ini is the "main"

Discussion in 'General Discussion' started by KimBO, Nov 19, 2004.

  1. KimBO

    KimBO Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Hey!

    I want to modify the php.ini, but there are too many... I tried to work on some, but the changes were not made... So, where and in which can I make modifies which take result...

    I use Fedora C2 and I found the following path to a php.ini:

    etc/php.ini
    /usr/lib/php.ini
    /usr/local/lib/php.ini
    /usr/local/cpanel/3rdparty/etc/php.ini
    /usr/local/cpanel/3rdparty/lib/php.ini
    /home/cpapachebuild/buildapache/php-4.3.9/pear/tests/php.ini
    /home/cpphpbuild/php-4.3.8/pear/tests/php.ini
    /home/installd/buildapache/php-4.3.8/pear/tests/php.ini

    Greetings and thanks... KimBO
     
  2. djmerlyn

    djmerlyn Well-Known Member

    Joined:
    Aug 31, 2004
    Messages:
    203
    Likes Received:
    1
    Trophy Points:
    16
    /usr/local/cpanel/3rdparty/etc/php.ini

    and you have to restart the web server for the settings to "take"
     
  3. 3amp

    3amp Member

    Joined:
    Jun 9, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1

    use phpinfo to find out (safest way to find out, might be different for each config?!)
     
Loading...

Share This Page