Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

csf warning

Discussion in 'Security' started by bhanuprasad1981, Jul 17, 2010.

  1. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Aug 5, 2008
    Likes Received:
    Trophy Points:
    is ee this warning :-

    You should modify /usr/local/lib/php.ini and set:
    enable_dl = OffThis prevents users from loading php modules that affect everyone on the server. Note that if use dynamic libraries, such as ioncube, you will have to load them directly in the PHP configuration (usually in /usr/local/lib/php.ini)

    i have whmcs on this server which will stop working as per csf warning, so iw ant to know how to make ioncube load directly ?
  2. aapkapratik

    aapkapratik Member

    Oct 26, 2009
    Likes Received:
    Trophy Points:
    In my opinion you should use these steps.
    It might work in your case as well ( it worked for me ) :)

    login as with SSH as root into your server.

    # php -v ( This is just to check zend loader )

    Analysis of your system configuration shows:

    PHP 5.3.1 (cli) (built: Dec 31 2009 22:08:55)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
    with eAccelerator v0.9.6-rc1, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.3.7, Copyright (c) 2002-2009, by ionCube Ltd.

    Now go to location where the " ioncube_loader " file resides genrally it is at:

    [ /usr/local/IonCube ]

    Go to this location

    # cd /usr/local/IonCube
    # ls ( will show the Incube_loder version installed )
    -rwxr-xr-x 1 root root 834044 Dec 31 2009*

    Now open servers php.ini file, if you dont know the path. Use following command

    # php -i | grep php.ini
    ( this will show path as follows )

    Configuration File (php.ini) Path => /usr/local/lib
    Loaded Configuration File => /usr/local/lib/php.ini

    Now open the php.ini file in your faverate editor.

    # vi /usr/local/lib/php.ini

    under section

    ; Paths and Directories ;

    add an entry as follows


    So here we are giving path of zend module in php.ini file where by it will make ioncube load directly
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice