PHP 7.x ionCube Loader

edited March 2018 in Feature Request


It is possible to install ioncube for PHP 5.6.
But for PHP 7.0 versions ioncube loader could not be loaded.
I think this is necessary for most scripts and software.
Whmcs, for example, sees PHP 7.0 as the front.
But it is not possible to use whmcs with PHP 7.0.



  • Hello
    IonCube Loader works seamlessly with PHP 7.0
    I tried to use these commands below to do the installation and configuration.

    Move the uncompressed folder to the path /usr/local/
    Include the php.ini extension of the PHP7 .
    zend_extension = /usr/local/ioncube/

  • edited March 2018

    Do not forget that for WHMCS to run the cron you need to do these commands below.

    ### PHP CLI VERSION ###
    cp /usr/local/lsws/lsphp71/bin/php /usr/bin/
    cp /usr/local/lsws/lsphp70/bin/php /usr/bin/
    php -v

  • I'm having trouble creating Cron Job for WHMCS, I've added it via CyberPanel, and directly in crontab, but unfortunately it does not work.

    @sidneyandrewss I could not configure PHP binary to be globally accessible because I did not understand what should be done.

    I need to add this cron job: */5 * * * * php -q /home/
    Could someone help me make it work?
  • First install IonCube for the PHP version your WHMCS is using, then make it globally available using:
    cp /usr/local/lsws/lsphpXX/bin/php /usr/bin/
    Replace XX with your PHP version number.
  • I managed to fix. There was no problem with the server or CyberPanel. It was just the address of the cron configuration file (crons/config.php) that still had the old server address. As soon as I fixed the address the cron worked immediately.:blush:
Sign In or Register to comment.
CyberHosting CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!