Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2003
    Posts
    60

    Default php.ini file

    Which path does cpanel use for the php.ini file on a red hat machine? i have like 8 listed and not sure what one to edit

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    I believe the output of the PHP function phpinfo() includes the path to the correct php.ini file.

  3. #3
    Member serversphere's Avatar
    Join Date
    Jan 2004
    Posts
    658

    Default

    Where the file is depends on how php is installed. And you'll probably find that there really is only one true php.ini, and that the rest are symlinks.

    From cmd line:
    Code:
    php -i | grep "php.ini"

Similar Threads & Tags
Similar threads

  1. problem with php.ini file
    By anandghosh in forum New User Questions
    Replies: 3
    Last Post: 12-16-2008, 09:03 AM
  2. Seperate PHP.ini file for a site.
    By rosewood in forum Data Protection
    Replies: 2
    Last Post: 08-27-2008, 09:00 PM
  3. where is php.ini file
    By vr4indian in forum New User Questions
    Replies: 8
    Last Post: 12-12-2006, 08:38 AM
  4. Changing info in the PHP.INI FIle
    By logikstudios in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-03-2006, 05:59 PM
  5. how can i set php.ini file?
    By }{iJacK in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-19-2004, 11:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube