Results 1 to 3 of 3

Thread: php.ini path?

  1. #1
    Member
    Join Date
    May 2003
    Posts
    64

    Default php.ini path?

    Does cpanel use the path in /etc/ for the php.ini or does it draw it from another location?

    When i do a locate i get the php.ini from a couple of different locations but not sure which one to edit?

    root@vps [/]# locate php.ini
    /etc/php.ini
    /scripts/php.ini
    /usr/lib/php.ini
    /usr/local/cpanel/3rdparty/etc/php.ini
    /usr/local/cpanel/3rdparty/lib/php.ini
    /usr/local/lib/php.ini.new
    /usr/local/lib/php.ini
    /var/cpanel/version/php.ini-2

  2. #2
    Member
    Join Date
    Sep 2004
    Location
    Cleveland, Ohio
    Posts
    378

    Default

    the PHP installed with Apache on a cPanel box uses the php.ini located at /usr/local/lib/php.ini.

  3. #3
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    477
    cPanel/WHM Access Level

    DataCenter Provider

Similar Threads

  1. Session save path in php.ini commented
    By 4u123 in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 12-11-2009, 03:40 PM
  2. php.ini and override default php.ini
    By areh in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 08-24-2009, 05:45 PM
  3. sessions save path in php.ini
    By NoAgendas in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 05-27-2007, 11:59 PM
  4. Correct Path To Working PHP.INI
    By purple-support in forum New User Questions
    Replies: 5
    Last Post: 01-20-2006, 12:15 PM
  5. Configuration file path: php.ini
    By RedFutura in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 07-07-2004, 10:03 AM