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 Assistance, please!

Discussion in 'General Discussion' started by ajlst21, Nov 6, 2014.

  1. ajlst21

    ajlst21 Registered

    Joined:
    Nov 6, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    I had ionCube installed and up and running via GoDaddy Budget Hosting. I am now on a VSP, which is probably a bit over my head and extremely frustrated.

    [removed]

    Site error: the file /home/drivingpins/public_html/wp-content/themes/pinclone/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.4.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

    I've installed ionCube, but it's installing above the root level and I am unable to get this resolved for the WP Site to run properly.

    I don't think this is the right configuration. I did this via WHM (VPS) and the change to define the call on php5.ini or .user.ini

    Tweak Settings
    Updating tweak settings...

    Your changes have been saved.

    Restarting cPanel daemons...done.

    Updating your system to reflect any changes...
    Updating cPanel PHP loader from “” to “ioncube”.
    cPanel PHP loader was updated.
    Processing post action for cPanel PHP loader:
    cPanel PHP loader was updated.
    Done.
     
    #1 ajlst21, Nov 6, 2014
    Last edited by a moderator: Nov 6, 2014
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    There are two separate PHP installations on a cPanel server. One is internal for cPanel, and the other is for the sites that you host.

    The ioncube option in Home » Server Configuration » Tweak Settings installs IonCube Loader for the internal cPanel PHP. The internal cPanel PHP is only used for Webmail, phpMyAdmin, phpPgAdmin, and plug-ins that run inside cPanel. It has nothing to do with your sites, and that is why your site reports that IonCube is not installed.

    To install IonCube for the PHP that runs your sites, log into the server as root via SSH and run this command:

    Code:
    # /usr/local/cpanel/scripts/phpextensionmgr install IonCubeLoader
    That will install IonCube Loader in the PHP that runs your hosted Web sites. You can use phpextensionmgr to install the following PHP extensions as well:

    Code:
    # /usr/local/cpanel/scripts/phpextensionmgr list
    Available Extensions:
    EAccelerator
    IonCubeLoader
    Zendopt
    Xcache
    SourceGuardian
    PHPSuHosin
    # /usr/local/cpanel/scripts/phpextensionmgr help
    Usage:
        phpextensionmgr [options] [action] [extension]
    
            Options:
              --help       Help message
              --prefix     Installation prefix for PHP (normally /usr/local)
    
            Actions:
              install      Install or update the extension
              uninstall    Uninstall the extension
              status       Display the installation status of the extension
              list         Show available extensions
     
  3. ajlst21

    ajlst21 Registered

    Joined:
    Nov 6, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
Loading...

Share This Page