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 can't be loaded in jail (missing /home/virtfs link)

Discussion in 'General Discussion' started by sehh, Dec 20, 2007.

  1. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    I noticed, that in the new EA3, when we compile Ioncube in PHP, the binary module fails to load when PHP is executed in SSH under a jail, as seen below:

    Code:
    # /usr/bin/php --version
    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
    PHP 5.2.5 (cgi) (built: Dec 15 2007 04:16:51)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
        with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
        with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
    
    because, the /usr/local/IonCube directory is not hard-linked in the /home/virtfs jailed file system.
     
  2. HelloAdam

    HelloAdam Well-Known Member

    Joined:
    Nov 6, 2005
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    Hey,

    Any updates on this issue.


    Thanks,
    Adam
     
  3. Sindre

    Sindre Well-Known Member

    Joined:
    Aug 25, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I would also like to see this problem fixed. I guess it would be possible for someone to manually edit the setupvirtfs script to automatically create the required links to the IonCube loaders, but my linux skills are very limited.
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    11.24.1 31539+ will mount /usr/local/IonCube if it exists
     
Loading...

Share This Page