Howdy, Stranger!

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


Ion Cubeloader with Nginx?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Ion Cubeloader with Nginx?

nexmarknexmark Member

Followed DigitalOcean's Tutorial here for Nginx with PHP and MySQL However Need to find a way to install ion-cubeloader for WHMCS

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6

Any tips?

Comments

  • pretty sure web server is independent of ioncube loaders, you just have to download its library and include in php.ini file

  • I've installed whmcs with nginx+php-fpm once. Many whmcs features that broken e.g. domain registration but working well with apache.

  • zionvpszionvps Member
    edited June 2014

    @vonlulzweg said:
    I've installed whmcs with nginx+php-fpm once. Many whmcs features that broken e.g. domain registration but working well with apache.

    how did you get it working without ioncube

  • mpkossenmpkossen Member
    edited June 2014

    Just put ioncube somewhere and create a .INI file in the PHP config dir that loads the extension. Process is the same as it is for Apache.

  • ATHKATHK Member
    edited June 2014

    I've done this with NGINX PHP-FPM

    Download and unpack the correct ionCube Loader package for your architecture (x86_64 or x86).
    
    
    **For x86_64:**
    
    wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
    tar xfvz ioncube_loaders_lin_x86-64.tar.gz
    
    
    **For x86:**
    
    wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
    tar xfvz ioncube_loaders_lin_x86.tar.gz
    
    
    
    cp ioncube/ioncube_loader_lin_5.5.so /opt/php-5.5.7/lib/php/extensions/no-debug-non-zts-20121212/ioncube.so
    

    nano / vi your php.ini

    Add the line zend_extension = /opt/php-5.5.7/lib/php/extensions/no-debug-non-zts-20121212/ioncube.so right at the beginning of the file (before the [PHP] line):
    
    
    zend_extension = /opt/php-5.5.7/lib/php/extensions/no-debug-non-zts-20121212/ioncube.so
    
    
    
    Reload PHP-FPM afterwards:
    
    /etc/init.d/php-5.5.7-fpm reload
    

    Try following the relevant Ion Cube parts on this tut

    http://www.howtoforge.com/how-to-build-php-5.5-php-fpm-and-fastcgi-with-ioncube-loader-zend-opcache-and-apcu-for-ispconfig3-debian-wheezy

    Thanked by 1nexmark
  • @ATHK said:
    I've done this with NGINX PHP-FPM

    Download and unpack the correct ionCube Loader package for your architecture (x86_64 or x86).


    For x86_64:

    wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
    tar xfvz ioncube_loaders_lin_x86-64.tar.gz


    For x86:

    wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
    tar xfvz ioncube_loaders_lin_x86.tar.gz


    cp ioncube/ioncube_loader_lin_5.5.so /opt/php-5.5.7/lib/php/extensions/no-debug-non-zts-20121212/ioncube.so
    nano / vi your php.ini


    Add the line zend_extension = /opt/php-5.5.7/lib/php/extensions/no-debug-non-zts-20121212/ioncube.so right at the beginning of the file (before the [PHP] line):


    zend_extension = /opt/php-5.5.7/lib/php/extensions/no-debug-non-zts-20121212/ioncube.so

    Reload PHP-FPM afterwards:
    
    /etc/init.d/php-5.5.7-fpm reload
    

    Try following the relevant Ion Cube parts on this tut

    http://www.howtoforge.com/how-to-build-php-5.5-php-fpm-and-fastcgi-with-ioncube-loader-zend-opcache-and-apcu-for-ispconfig3-debian-wheezy

    Worked like a charm Thanks, Now I can host my WHMCS offsite :P

  • ATHKATHK Member

    Brilliant.

Sign In or Register to comment.