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

Discussion in 'General Discussion' started by srkn61, Jun 12, 2015.

  1. srkn61

    srkn61 Active Member

    Joined:
    Jan 28, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    hello,

    under tweak settings: PHP --> Ioncube Loader is activated and i am logged in with root...


    but one customer got this message:
    Site error: the file /home/printout/public_html/admin/controller/module/simple.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.


    whats the reason? Can anybody help?
     
  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:
  3. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have you enabled Ioncube in WHM >> Software >> EasyApache? From what you have explained, you have only enabled it for cPanel's "internal" PHP which is not the same as the PHP version you're end users will be using.

    To enable Ioncube quickly, run this as root:

    Code:
    /scripts/phpextensionmgr install IonCubeLoader
    
     
  4. srkn61

    srkn61 Active Member

    Joined:
    Jan 28, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    hello,

    actually I am having the ioncube loader 4.7.5 I need the version upper than 5.4.. Where can I change this?
     
  5. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    Download ioncube: http://www.ioncube.com/loaders.php

    For example, on an x86 system...

    Backup your current Ioncube files!!
    Code:
    mv /usr/local/IonCube /usr/local/IonCube-old
    
    Code:
    # cd /usr/local/src
    # wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
    # tar -xfz ioncube_loaders_lin_x86.tar.gz
    # mv ioncube /usr/local
    
    Use a text editor like nano to open up php.ini in /usr/local/lib/phi.ini and insert or update

    Code:
    zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
    
    according to your php version. Save and restart httpd.

    Code:
    # nano -w /usr/local/lib/php.ini
    # service httpd restart
    
    Of course I will need to warn you that it is unlikely to be supported by cPanel Support as they have not yet released it with EasyApache. You'll be on your own with it.

    Credit to Web Hosting Talk forums and arunsv84 of cPanel forums. I was unaware on how to go about this and so Googled for it. Lol.
     
  6. srkn61

    srkn61 Active Member

    Joined:
    Jan 28, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    hello,

    could you send me the same instruction for centos 6 64 bit, please?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You can replace these two lines:

    Code:
    # wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
    # tar -xfz ioncube_loaders_lin_x86.tar.gz
    With:

    Code:
    # wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
    # tar -xfz ioncube_loaders_lin_x86-64.tar.gz
    Thank you.
     
    LostNerd likes this.
  8. srkn61

    srkn61 Active Member

    Joined:
    Jan 28, 2015
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    hell by typing in:
    "tar -xfz ioncube_loaders_lin_x86-64.tar.gz" I got this error:
    tar: z: Kann open nicht ausführen: Datei oder Verzeichnis nicht gefunden
    tar: Error is not recoverable: exiting now

    translated by me:
    tar: z: open can not: File or Path not found
     
  9. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    You have not followed the instructions in their entirety. You cannot untar a file that you do not yet have on your system.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,808
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Did you run this command after running the wget command? Did the file download successfully?

    Thank you.
     
  11. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Use
    Use this instead:
    tar -zxvf
     
Loading...

Share This Page