Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    May 2006
    Posts
    272
    cPanel/Enkompass Access Level

    Root Administrator

    Question ioncube loader in tweak settings but not in easyapache?

    I'm willing to bet that this is a really dumb question, but I need to ask because I've got a customer ready to upload a script that requires ioncube loader to be installed on the server.

    I have the ioncube loader option selectioned in WHM > Tweak Settings > PHP > Loader to use for internal cPanel PHP

    However, I see it also as an optional module to add when running EasyApache, but I have never selected it in there.

    So, should I also re-run EasyApache and select the option to include ioncube from within there as too? Or should I leave it just as is?

    So far I haven't encountered any problems with other clients / scripts on the server, but I'm just wondering if I really need to run EasyApache and include the ioncube option this time, or is just having it selected in Tweak Settings enough...

    Thanks for any advice!

    PS - I'm running:
    WHM 11.23.2 cPanel 11.23.6-R27698
    RHEL 4
    Apache 2.2.6
    PHP 5.2.6
    mySQL 5.0.51a

  2. #2
    Member ManojB's Avatar
    Join Date
    Mar 2005
    Location
    pune
    Posts
    80

    Default

    There is no need to run EasyApache. You can install ioncube loader using the following command :

    /scripts/phpextensionmgr install IonCubeLoader

    After this just restart apache

    /scripts/restartsrv httpd
    Regards,
    ManojB.

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    1. IonCube when installed via EasyApache or the PHP Extension Manager (/scripts/phpextensionmgr) installs IonCube for use by PHP Applications served by Apache.

    2. IonCube when installed via the Tweak Settings option configures the Internal PHP environment to use IonCube.

    The difference:

    Option 1 means IonCube is available for PHP Applications accessed like:

    www.example.com/index.php

    Option 2 means IonCube is available for PHP Applications access like

    www.example.com:2083/index.php

    Option 1 is served by Apache, Option 2 is served by cPanel.

  4. #4
    Member
    Join Date
    May 2006
    Posts
    272
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Thnks for the replies! Adn Kenneth, your detailed explanation was extremely helpful. I'm assuming I need to roll with both options - enabled in tweak settings, and also installed either from easyapache or /scripts...

    Thanks guys,
    M2

  5. #5
    Member
    Join Date
    May 2006
    Posts
    272
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I have 3 last quick (hopefully simple) questions regarding this if anyone feels like answering.

    If I installed IonCube via /scripts/phpextensionmgr instead of through EasyApache, will it:

    A) Automatically appear as selected / installed the next time I run EasyApache?

    B) Require manual updates, or can it be updated via running EasyApache?

    C) Cause any problems or "duplicate" issues if I choose to select the IonCube option the next time I do recompile with EasyApache?

    Thanks for your insight.

  6. #6
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Jan 2005
    Posts
    89

    Default

    A) Yes

    B) Updated via easyapace

    C) No. Ioncube isn't really an "apache" module. It's just in easyapache to... well... make it easy to add :P. But it can be done with phpextensionmgr to avoid the long recompiling process easyapache would use without any problems whatsoever.

  7. #7
    Member
    Join Date
    May 2006
    Posts
    272
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Many thanks for clearing that up!

  8. #8
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    EasyApache itself uses the phpextensionmgr to perform the installation of these PHP Extensions.

  9. #9
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    932
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I used Easy Apache to add Ion Cube, and am running into a problem.

    In EasyApache, under the "Short Options List", I checked the box next to:

    IonCube Loader for PHP [More Info ↑]
    3.1.32


    I didn't notice any problems during the install & rebuild, and it finished successfully (but admittedly I did not parse the entire log)

    I noticed now that in my apache error_log, I am seeing these errors:

    Failed loading /usr/local/IonCube/ioncube_loader_lin_5.2.so: /usr/local/IonCube/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory

    However, the shared object seems to be there fine:

    root@xxxx [/usr/local/IonCube]# ls
    ./ ../ ioncube_loader_lin_5.2.so* ioncube_loader_lin_5.2_ts.so*


    Thoughts?

    - Scott

  10. #10
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by sneader View Post
    I used Easy Apache to add Ion Cube, and am running into a problem.

    In EasyApache, under the "Short Options List", I checked the box next to:

    IonCube Loader for PHP [More Info ↑]
    3.1.32


    I didn't notice any problems during the install & rebuild, and it finished successfully (but admittedly I did not parse the entire log)

    I noticed now that in my apache error_log, I am seeing these errors:

    Failed loading /usr/local/IonCube/ioncube_loader_lin_5.2.so: /usr/local/IonCube/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory

    However, the shared object seems to be there fine:

    root@xxxx [/usr/local/IonCube]# ls
    ./ ../ ioncube_loader_lin_5.2.so* ioncube_loader_lin_5.2_ts.so*


    Thoughts?

    - Scott
    Not sure off-hand, Scott. Have you verified IonCube is loaded only once? You might try using /scripts/phpextensionmgr to uninstall, then re-install IonCube loader. Or have one of our techs look at it.

Similar Threads & Tags
Similar threads

  1. Ioncube loader is needed.
    By tank in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 05-20-2012, 11:57 PM
  2. IonCube Loader 4.0.x support
    By Gencer in forum Archived Feature Requests
    Replies: 1
    Last Post: 08-28-2011, 09:59 AM
  3. Old version of ioncube loader
    By anjo2 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-29-2011, 09:23 PM
  4. Ioncube loader problem- urgent!
    By junglecat in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-09-2007, 12:24 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube