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.

ionCube Loader for cPanel's internal PHP

Discussion in 'General Discussion' started by cotswoldphoto, Oct 12, 2016.

  1. cotswoldphoto

    cotswoldphoto Active Member

    Joined:
    Feb 20, 2015
    Messages:
    25
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    My server just updated to cPanel 60.3 from 58.31 (I think it was at) and I am getting this every 5 minutes by email:

    I ran EasyApache 4 and checked the installed packages. PHP5.6 says it has php-ioncube and PHP7 says it has php-ioncube6.

    The server has been running happily until now.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is a similar ticket open with this response from cPanel Technical Support you might try:
    If that doesn't solve this for you, please open a ticket. A case has been opened for this issue as well: CPANEL-9222
     
    ciberseba likes this.
  3. cotswoldphoto

    cotswoldphoto Active Member

    Joined:
    Feb 20, 2015
    Messages:
    25
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Thank you. That resolved it.
     
    Infopro likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    I'll update this thread once a resolution for case CPANEL-9222 is published. In the meantime, another workaround to fix this issue is to run the following command:

    Code:
     /usr/local/cpanel/bin/checkphpini --verbose
    Thank you.
     
  5. dogdog

    dogdog Member

    Joined:
    Oct 13, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    I have a WHM Plugin which requires Ioncube. The plugin will not recognise that Ioncube has been installed.

    I am running WHM 60.03 with PHP 5.6 and PHP-FPM enabled on all domains. My VPS runs CentOS 7.2.

    I chose to install the Ioncube Loader as a PHP module through Easy Apache 4.

    Running php -v indicates the Ioncube loader is installed.

    I copied the Ioncube Loader files to /usr/local/ioncube

    I manually added the line
    zend_extension="/usr/local/ionCube/ioncube_loader_lin_5.6.so"
    to PHP.ini files I found in /usr/local/lib and usr/lib
    The command
    whereis php
    only threw up these PHP.ini files when logged in through SSH.

    Yet even after all this I still get the error in the WHM plugin:
    Site error: the file /usr/local/cpanel/whostmgr/docroot/3rdparty/xvarnish/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.6.so to be installed by the website operator.

    Any ideas please?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. dogdog

    dogdog Member

    Joined:
    Oct 13, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Thanks, the above fix solved my problem too.
     
    cPanelMichael likes this.
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The resolution to this case is now published to the "Current" build tier as part of cPanel version 60.0.4:

    Fixed case CPANEL-9222: Preserve configuration for cPanel PHP on upgrade.

    For an explanation of our release tiers, read our cPanel & WHM Versions and the Release Process documentation.

    Thank you.
     
Loading...

Share This Page