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

    Default Er... seriously? magic_quotes_gpc defaults to on?

    Are you absolutely kidding? magic_quotes_gpc hasn't been in use since, like, the 1920s. Who is the dribbling imbecile who decided that even today, in 2010, that it should *default* to on in cPanel?

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    In older distributions of PHP, magic_quotes_gpc was actually recommended to be turned on. The thinking behind it is that, since it effectively shields poor programmers from themselves (according to PHP: Why did we use Magic Quotes - Manual), that disabling it once it has been enabled could open unknown security holes on the server.

    The option is deprecated in PHP 5.3.0, and there is an internal case for it to be changed to "Off" by default in the php.ini file provided by cPanel.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by ritontor View Post
    Are you absolutely kidding? magic_quotes_gpc hasn't been in use since, like, the 1920s. Who is the dribbling imbecile who decided that even today, in 2010, that it should *default* to on in cPanel?
    Keeping magic_quotes_gpc enabled is much less of a problem than say if register_globals was on by default. If anything it allows portability between cPanel servers still running older versions of PHP (e.g. PHP4).
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

Similar Threads & Tags
Similar threads

  1. Custom PHP build through Easy Apache turns on magic_quotes_gpc?????
    By ritontor in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-08-2009, 12:53 PM
  2. magic_quotes_gpc
    By parag joshi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-17-2008, 07:53 PM
  3. magic_quotes_gpc - Turn off for specific account?
    By mattsilv in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-09-2007, 11:11 PM
  4. magic_quotes_gpc
    By purplepaws in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-31-2003, 01:14 PM
  5. magic_quotes_gpc
    By mpope in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-04-2001, 07:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube