Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Where's the php setting file?

Discussion in 'General Discussion' started by goodgbb, Sep 20, 2005.

  1. goodgbb

    goodgbb Well-Known Member

    Joined:
    Aug 15, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Thailand
    I need your helping. I've SSH root access and I've WHM root access too.

    Where's the php setting file?
    And How to turn on global variable?


    Thank You So Much :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ngchandak

    ngchandak Well-Known Member

    Joined:
    Apr 5, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    India
    Hi,

    the main php file is php.conf you can get that file under.

    /usr/local/apache/conf.d/php.conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. goodgbb

    goodgbb Well-Known Member

    Joined:
    Aug 15, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Thailand
    Thank you ngchandak
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 goodgbb, Sep 20, 2005
    Last edited: Sep 20, 2005
  4. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    That file doesn't even exist on my cpanel server, anywhere. Please check advice before posting.

    I do have /usr/local/lib/php.ini but I'm not certain whether that's the main file; I think it is. It's definitely named php.ini and NOT php.conf though, there are NO php.conf files anywhere on my server!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Yup, that's the one /usr/local/lib/php.ini
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ebinfo

    ebinfo Active Member

    Joined:
    Oct 5, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    I am not sure if it's the one i am using.

    I want to integrate DBG on there. according to my php info the php file i am using is located here: /usr/local/lib/php.ini

    i go in there, and compare the extensions between the file and the phpinfo(), and some extensions are still flagged as commented, while they are shown on the phpinfo() !

    So my guess is that it's not the php file being used, otherwise the commented extensions would not show on the phpinfo.

    Any advices ?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice