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 not found on server level?

Discussion in 'General Discussion' started by Cemtey, Dec 25, 2007.

  1. Cemtey

    Cemtey Well-Known Member

    Joined:
    Aug 19, 2007
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    I've got IONCube installed and configured in php.ini file
    However it doesn't seem to work.
     
  2. Amit Deshmukh

    Amit Deshmukh Well-Known Member

    Joined:
    Jul 1, 2007
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Its Simple

    You need provide more information as were exactly do you find this error.
    ******************************************************************


    If your PHP is not threaded you need a Loader called:
    ioncube_loader_<os type>_<php flavour>.so

    If your PHP is threaded you need a Loader called:
    ioncube_loader_<os type>_<php flavour>_ts.so

    <os type> will be 'lin' for Intel Linux, 'fre' for FreeBSD, 'sun' for Sparc Solaris, 'ope' for OpenBSD, 'dar' for OSX and 'net' for NetBSD.

    <php flavour> will be 4.0, 4.1, 4.2 or 4.3 - i.e the first 2 digits of your PHP version.

    Edit your php.ini file and for non-threaded PHP add:
    zend_extension = /<path>/ioncube_loader_<os type>_<php flavour>.so

    and for threaded PHP add:
    zend_extension_ts = /<path>/ioncube_loader_<os type>_<php flavour>_ts.so

    Replace <os type> and <php flavour> with whatever is right for your system, and <path> with the path to where the Loader is installed, e.g. /usr/local/ioncube

    If there are other zend_extension entries in the php.ini file place this new entry before the existing entries.

    For example, with Linux running PHP 4.1.2 and Apache 1, you might add:
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.1.so

    For FreeBSD running threaded PHP 4.3.1 with Apache 2, you might add:
    zend_extension_ts = /usr/local/ioncube/ioncube_loader_fre_4.3_ts.so

    Let us know if the error persist.

    Regards,
    Amit
    Back in Action
     
  3. xprt5

    xprt5 Well-Known Member

    Joined:
    Apr 6, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    Ioncube, Zend Optimizer and eAccelerator are now included in easyapache (WHM > Apache Update) as an option in Advanced section.
     
  4. ManojB

    ManojB Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    pune
    You can manually install Zend using the following steps :-

    wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

    tar -zxf ioncube_loaders_lin_x86.tar.gz
    mv ioncube /usr/local
    chown -R root:root /usr/local/ioncube/

    vi /usr/local/Zend/etc/php.ini (or whatver your path is)


    Add the following line before any other zend_extension

    For php4
    Code:
    zend_extension = zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
    OR

    For php5
    Code :
    zend_extension = zend_extension=/usr/local/ioncube/ioncube_loader_lin_4.3.so




    save changes, then:

    Code:
    /etc/init.d/httpd restart
     
Loading...

Share This Page