Results 1 to 11 of 11

Thread: Ioncube Idea- /scripts/installioncube

  1. #1
    Member
    Join Date
    Jan 2007
    Posts
    46

    Default Ioncube Idea- /scripts/installioncube

    I have a very cool idea. We know that we can install zend by typing in /scripts/installzendopt in SSH. How about /scripts/installioncube ? That would be very helpful.

    Could you guys tell me how to install ioncube too?

  2. #2
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,144
    cPanel/WHM Access Level

    Root Administrator

    Default

    Have you checked out the installation instructions at www.ioncube.com? From memory they're quite comprehensive!

  3. #3
    Member
    Join Date
    Feb 2005
    Posts
    312

    Default

    Quote Originally Posted by brianoz View Post
    Have you checked out the installation instructions at www.ioncube.com? From memory they're quite comprehensive!
    from memory it's incredibly easy.
    as I recall.

    wget the package,
    untar,
    type ./install

    then doublecheck php.ini to make sure the ioncube files are in the right spot.


    in my case, I moved them from their default install space, because people with jailshell couldn't see them, but it was still pretty painless.

  4. #4
    Member
    Join Date
    Jan 2004
    Posts
    59

    Default

    guys i tried many things to install IONCUBE but all failed, also tried the search button but didnt find anything.

    can anyone help with a step by step guide to install it? and maybe give an idea about phpA as well ?

    thanks

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    39

    Default

    Ioncube is now a part of EasyApache. Click "Apache Update" and compile with Ioncube "checked"

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge Zishan's Avatar
    Join Date
    Aug 2005
    Posts
    104

    Default

    You can install Ioncube using /scripts/phpextensionmgr script. Several other extensions are also available with this script and can be installed easily:
    [root@cpanel ~]# /scripts/phpextensionmgr list
    Available Extensions:
    EAccelerator
    IonCubeLoader
    Zendopt
    SourceGuardian
    PHPSuHosin
    So in order to install IonCube loaders, just run :

    [root@cpanel ~]# /scripts/phpextensionmgr install IonCubeLoader

  7. #7
    Member
    Join Date
    Jan 2004
    Posts
    59

    Default

    Quote Originally Posted by Zishan View Post
    So in order to install IonCube loaders, just run :
    thank you, installed it like you said. but when i tried to run a website with
    i received the following error :
    Site error: the file /home/site/public_html/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge Zishan's Avatar
    Join Date
    Aug 2005
    Posts
    104

    Default

    Are you using suPHP or PHP as DSO? You can verify it by running:

    /usr/local/cpanel/bin/rebuild_phpconf --current

    If you are using suPHP, make sure that is no custom php.ini inside the account.

  9. #9
    Member
    Join Date
    Jan 2004
    Posts
    59

    Default

    Quote Originally Posted by Zishan View Post
    Are you using suPHP or PHP as DSO? You can verify it by running:
    here you go :
    Code:
    Available handlers: dso cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: none
    PHP5 SAPI: dso
    SUEXEC: enabled
    Thanks

  10. #10
    Member
    Join Date
    Mar 2009
    Posts
    7

    Exclamation Fix

    Ioncube is an extension for php, try a php -v to see what you have loaded so far, and after that you can install it using 2 ways.
    1. Install manual and edit the php.ini to add the extension yourself. (this is a bit hard if you dont have the skills for it).
    2. Install using the easyapache, and recompile the apache and php (when you select the version of php, you will see what options to make available with php, like zend, ioncube etc...)
    If you like a "SAFE" way then select the 2 method it will work 100 % and solve your issue.
    If you have other questions just ask, regards.

  11. #11
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    Code:
    /scripts/phpextensionmgr install IonCubeLoader; \
    /scripts/restartsrv_httpd
    search is your friend!
    cPanel Specialist Certification::Technical

Similar Threads

  1. Whose Idea was this?
    By GordonH in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 04-17-2007, 05:41 PM
  2. Any Idea's
    By coryga in forum New User Questions
    Replies: 2
    Last Post: 08-03-2006, 12:51 PM
  3. Already enable ioncube ...yet still can't load ioncube-coded script..
    By gundamz in forum cPanel & WHM Discussions
    Replies: 14
    Last Post: 12-22-2005, 08:02 PM