Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member manokiss's Avatar
    Join Date
    Mar 2002
    Posts
    536

    Default running php through command line error

    hi guys,

    just wondering if you know why and how to avoid this happen.

    Running a php script through jailshell command line it giving this error:

    php -f test.php
    Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so: /usr/local/ioncube/ioncube_loader_lin_4.4.so: cannot open shared object file: No such file or directory

    Any idea?

    Thanx!

  2. #2
    Member manokiss's Avatar
    Join Date
    Mar 2002
    Posts
    536

    Default

    no one? :-(

  3. #3
    Member Pashio's Avatar
    Join Date
    Nov 2005
    Posts
    30

    Default

    Hello,

    This looks like ioncube_loader is not installed correctly. Please try reinstalling the ioncube_loader. You can follow the URL -

    http://www.webhostgear.com/index.php?art/id:77

  4. #4
    Member manokiss's Avatar
    Join Date
    Mar 2002
    Posts
    536

    Default

    thanx, but is exactly how i installed it, any other idea?

    Thanx!

  5. #5
    Member majoosh's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    84

    Default

    Hi manokiss,

    Enable normal shell and this will fix the problem. Am also looking for a solutions. I tried all the way.. like given proper permission, ownership etc.. and also configured for a domain too... but still not worky...

    Majoosh

  6. #6
    Member
    Join Date
    Feb 2005
    Posts
    312

    Default

    Quote Originally Posted by majoosh View Post
    Hi manokiss,

    Enable normal shell and this will fix the problem. Am also looking for a solutions. I tried all the way.. like given proper permission, ownership etc.. and also configured for a domain too... but still not worky...

    Majoosh
    jailshell only allows access to specific directories in /usr/local. Zend is one, but IonCube isn't. so moving IonCube into the Zen folder solves this problem.

    here's the solution:
    # mv /usr/local/IonCube /usr/local/Zend
    # replace "/usr/local/IonCube/" "/usr/local/Zend/IonCube/" -- /usr/local/lib/php.ini

Similar Threads & Tags
Similar threads

  1. Command line PHP dead after upcp last night.
    By mmatos in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-12-2008, 12:54 PM
  2. Upgrade to php 5.1.4 - No PHP On Command Line
    By xaze in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-02-2007, 07:24 AM
  3. postwwwacct calling command line php
    By malk in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-15-2006, 08:54 AM
  4. GD, curl compile with php on command line
    By innovative2001 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-20-2006, 07:29 PM
  5. email from php or command line not working
    By redlorry919 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-06-2006, 02:47 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube