Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    442

    Exclamation /usr/local/cpanel/3rdparty/etc/php.ini ?!

    What exactly is the use of this php ini file? /usr/local/cpanel/3rdparty/etc/php.ini

    Is it used for the internal PHP used by cPanel?

    If so, why does it have register globals enabled? Its a major security risk, i believe.

  2. #2
    Member jenlepp's Avatar
    Join Date
    Jul 2005
    Location
    Liberty Hill, TX
    Posts
    114

    Default

    cPanel runs its own PHP for its own purposes - be careful editing this, as it can break things on your cPanel.
    Jen Lepp, Customer Experience Manager
    A Small Orange Homegrown Hosting | http://www.asmallorange.com

  3. #3
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    442

    Default

    sure, but how can we confirm that the above file is indeed used by cPanel's PHP?

    also, why is registered globals enabled? thats a major security risk.

  4. #4
    Member jenlepp's Avatar
    Join Date
    Jul 2005
    Location
    Liberty Hill, TX
    Posts
    114

    Default

    Quote Originally Posted by sehh View Post
    sure, but how can we confirm that the above file is indeed used by cPanel's PHP?
    Well, googling /usr/local/cpanel/3rdparty/etc/php.ini is a heckuva place to start, since it comes up with numerous discussions, most of them pertaining to problems in /usr/local/cpanel/3rdparty/etc/php.ini with Fantastico installation (as Fantastico uses cPanels internal PHP to install).

    Quote Originally Posted by sehh View Post
    also, why is registered globals enabled? thats a major security risk.
    Well, one could extrapolate that cpanel has its own internal PHP for add ons and third party installs and itself precisely because it needs to use wider variables and looser permissions than would be recommended on a server for normal PHP processing (example - turn off shell_exec in there and see how far Fantastico gets when installing).

    But that's just a guess.
    Jen Lepp, Customer Experience Manager
    A Small Orange Homegrown Hosting | http://www.asmallorange.com

Similar Threads & Tags
Similar threads

  1. [ask] /usr/local/cpanel/3rdparty/etc/php.ini
    By finly in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-30-2008, 09:43 AM
  2. /usr/local/cpanel/3rdparty/bin/php High Usage
    By thehostinghut in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-10-2005, 11:15 AM
  3. #!/usr/local/cpanel/3rdparty/bin/php
    By mikelegg in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-13-2005, 06:45 AM
  4. Replies: 4
    Last Post: 11-30-2004, 07:28 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube