The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with Tweak Settings - Reg_Globals & More

Discussion in 'General Discussion' started by bornonline, Nov 14, 2008.

  1. bornonline

    bornonline Well-Known Member

    Joined:
    Nov 19, 2004
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    Hi,

    Running WHM 11.23.2 cPanel 11.23.6-R27698.. for some reason I cannot seem to get cPanel PHP register_globals to disable or the ioncube loader to load.

    Even after unchecking register_globals it's still "on" in the cpanel PHP.ini file. I tried to edit it manually, but cannot save it permission denied.

    This seems to have just started because I happened to notice CSF was complaining about reg_globals being enabled and I know it has been off and now I can't turn it off.
    Anyone else having this problem disabling cpanel PHP reg_globals and getting ioncube loader to work?

    Tweak settings shows reg_globals is off (unchecked), but looking in the cpanel php.ini it's not off. I also rebuilt cpanel PHP and did a cpanel force reinstall, but it's still not working.

    Looks like it may be just a permission problem, but I'm not sure what to do.


    Code:
    Updating "cPanel PHP Register Globals (Off [unchecked] is recommended for security reasons)" from "1" to "0".
    Using php Loader: IonCubeLoader
    Installing IonCubeLoader
    Determining PHP version
    Installing IonCube Loader binaries
    Activating IonCube Loader extension in /usr/local/cpanel/3rdparty/etc/php.ini
    Failed to activate IonCube Loader in php.ini

    Code:
    Fri Nov 14 13:13:01 2008 warn [/usr/local/cpanel/bin/checkphpini]: safeunlock: Invalid arguments at /usr/local/cpanel/Cpanel/SafeFile.pm line 136
    	Cpanel::SafeFile::safeunlock(undef) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 71
    	Cpanel::SafeFile::safeclose(GLOB(0x9e6e324), undef) called at /usr/local/cpanel/Cpanel/PHPINI.pm line 688
    	Cpanel::PHPINI::set_directives(HASH(0x9fa3388), '/usr/local/cpanel/3rdparty') called at /usr/local/cpanel/Cpanel/PHPINI.pm line 597
    	Cpanel::PHPINI::set_directive('upload_max_filesize', '50M', '/usr/local/cpanel/3rdparty') called at /usr/local/cpanel/bin/checkphpini line 95
    Fri Nov 14 13:13:01 2008 info [/usr/local/cpanel/bin/checkphpini]: no such file: /usr/local/cpanel/3rdparty/lib/php.ini
    Fri Nov 14 13:13:01 2008 warn [/usr/local/cpanel/bin/checkphpini]: safeunlock: Invalid arguments at /usr/local/cpanel/Cpanel/SafeFile.pm line 136
    	Cpanel::SafeFile::safeunlock(undef) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 71
    	Cpanel::SafeFile::safeclose(GLOB(0x9e0a504), undef) called at /usr/local/cpanel/RcsRecord.pm line 80
    	RcsRecord::rcsrecord('/usr/local/cpanel/3rdparty/lib/php.ini', 'POST Cpanel::PHPINI::set_directives') called at /usr/local/cpanel/Cpanel/PHPINI.pm line 689
    	Cpanel::PHPINI::set_directives(HASH(0x9fa3388), '/usr/local/cpanel/3rdparty') called at /usr/local/cpanel/Cpanel/PHPINI.pm line 597
    	Cpanel::PHPINI::set_directive('upload_max_filesize', '50M', '/usr/local/cpanel/3rdparty') called at /usr/local/cpanel/bin/checkphpini line 95
    Fri Nov 14 13:13:02 2008 warn [./cpanel-install]: EUID [0] could not open file /usr/local/cpanel/3rdparty/etc/php.ini for +<: Operation not permitted at /usr/local/cpanel/Cpanel/SafeFile.pm line 42
    	Cpanel::SafeFile::safeopen(GLOB(0x8983568), '+<', '/usr/local/cpanel/3rdparty/etc/php.ini') called at /usr/local/cpanel/Cpanel/FileUtils.pm line 66
    	Cpanel::FileUtils::regex_rep_file('/usr/local/cpanel/3rdparty/etc/php.ini', HASH(0x8a669b8), HASH(0x8ad8670)) called at ./cpanel-install line 87
    	main::activate_ioncube('/var/cpanel/3rdparty', '/usr/local/cpanel/3rdparty/etc/php.ini', 5.2, 'lin') called at ./cpanel-install line 63
    Fri Nov 14 13:13:02 2008 warn [./cpanel-install]: safeunlock: Invalid arguments at /usr/local/cpanel/Cpanel/SafeFile.pm line 136
    	Cpanel::SafeFile::safeunlock(undef) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 71
    	Cpanel::SafeFile::safeclose(GLOB(0x8983568), undef) called at /usr/local/cpanel/Cpanel/FileUtils.pm line 80
    	Cpanel::FileUtils::regex_rep_file('/usr/local/cpanel/3rdparty/etc/php.ini', HASH(0x8a669b8), HASH(0x8ad8670)) called at ./cpanel-install line 87
    	main::activate_ioncube('/var/cpanel/3rdparty', '/usr/local/cpanel/3rdparty/etc/php.ini', 5.2, 'lin') called at ./cpanel-install line 63
    Fri Nov 14 13:13:02 2008 warn [./cpanel-install]: EUID [0] could not open file /usr/local/cpanel/3rdparty/etc/php.ini for +<: Operation not permitted at /usr/local/cpanel/Cpanel/SafeFile.pm line 42
    	Cpanel::SafeFile::safeopen(GLOB(0x8983568), '+<', '/usr/local/cpanel/3rdparty/etc/php.ini') called at /usr/local/cpanel/Cpanel/FileUtils.pm line 66
    	Cpanel::FileUtils::regex_rep_file('/usr/local/cpanel/3rdparty/etc/php.ini', HASH(0x8a669b8), HASH(0x8ad8670)) called at ./cpanel-install line 88
    	main::activate_ioncube('/var/cpanel/3rdparty', '/usr/local/cpanel/3rdparty/etc/php.ini', 5.2, 'lin') called at ./cpanel-install line 63
    Fri Nov 14 13:13:02 2008 warn [./cpanel-install]: safeunlock: Invalid arguments at /usr/local/cpanel/Cpanel/SafeFile.pm line 136
    	Cpanel::SafeFile::safeunlock(undef) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 71
    	Cpanel::SafeFile::safeclose(GLOB(0x8983568), undef) called at /usr/local/cpanel/Cpanel/FileUtils.pm line 80
    	Cpanel::FileUtils::regex_rep_file('/usr/local/cpanel/3rdparty/etc/php.ini', HASH(0x8a669b8), HASH(0x8ad8670)) called at ./cpanel-install line 88
    	main::activate_ioncube('/var/cpanel/3rdparty', '/usr/local/cpanel/3rdparty/etc/php.ini', 5.2, 'lin') called at ./cpanel-install line 63
     
    #1 bornonline, Nov 14, 2008
    Last edited: Nov 14, 2008
  2. bornonline

    bornonline Well-Known Member

    Joined:
    Nov 19, 2004
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    No ideas?
    I still cannot figure this out. Everything had been fine and over night ioncube loader will not install and I can't disable reg_globals on cpanel PHP.

    Can anyone please try and enable/disable this on their server to see if it's working.
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please open a ticket using the link at the bottom of the forums
     
Loading...

Share This Page