requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operator

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Hi guys, i get this error messages using some scripts

Site error: the file /home/username/public_html/filename.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
- i am using php 5.2.x

- in whm > PHP Configuration Editor > Advanced > zend_extension, already insert this :
/usr/local/IonCube/ioncube_loader_lin_5.2.so

- in whm > Tweak settings > cPanel PHP loader
i try checklisted ioncube only, its still same
i try checklisted ioncube & zend, its still same
i try checklisted ioncube, zend & sourceguardian, its still same


what could still be wrong, please help
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Re: requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operato

Hello,

You can install IonCubeLoader on your server through following command

Code:
/scripts/phpextensionmgr install IonCubeLoader
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Re: requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operato

ioncube already installed using easyapache before, only looks like the settings still not correct

i already tried create local php.ini with this content
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so";
and put it inside public_html

its working for a site, but it is better if i can make it working for the entire server

which settings that could still wrong
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Re: requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operato

Hello,

Have you added IonCubeLoader extension in /usr/local/lib/php.ini file ?

And what is the output of following command ?

Code:
php -v
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Re: requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operato

Hello,

Have you added IonCubeLoader extension in /usr/local/lib/php.ini file ?

yes, here are the lines
; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so"



And what is the output of following command ?
Code:
php -v
here it is

Code:
[email protected] [~]# php -v
PHP 5.2.17 (cli) (built: Jul 3 2013 08:12:40)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd.
 

Sys Admin

Well-Known Member
Apr 29, 2007
67
0
156
cPanel Access Level
Root Administrator
Re: requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operato

here it is

Code:
[email protected] [~]# php -v
PHP 5.2.17 (cli) (built: Jul 3 2013 08:12:40)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd.
Well, That means it's already loaded. Please check for any custom php.ini files within /home/USER or /home/USER/public_html

Try to create a simple phpinfo() page and see if ioncube is listed there or not. If you are still having this issue then please run:

which php

&

whereis php

Just to make sure that you don't have multiple php versions installed which could be causing this.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Re: requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the website operato

Hello :)

Yes, it sounds like you have local php.ini files within the accounts. This will prevent successful use of the Ioncube PHP loader if there are no entries for it in these custom php.ini files.

Thank you.