Ioncube Loader Error
Ioncube Loader Error
I'm trying to have ioncube running but I get this error:
php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_4.3.so: /usr/local/ioncube/ioncube_loader_lin_4.3.so: cannot enable executable stack as shared object requires: Permission denied
PHP 4.4.2 (cgi) (built: Feb 19 2006 19:53:18)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies
Any ideas?
php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_4.3.so: /usr/local/ioncube/ioncube_loader_lin_4.3.so: cannot enable executable stack as shared object requires: Permission denied
PHP 4.4.2 (cgi) (built: Feb 19 2006 19:53:18)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies
Any ideas?
Fixed it by simply updating IonCube. I uninstalled all IonCube rpms. Then, just download the package from the official website, untar it, and follow the instructions in the readme file of IonCube.
I have just one problem left - I installed a package in YUM repository, php5-ioncube. When I try to remove it, I get the error:
/var/tmp/rpm-tmp.12995: line 19: unexpected EOF while looking for matching `"'
/var/tmp/rpm-tmp.12995: line 23: syntax error: unexpected end of file
error: %preun(php5-ioncube-3.0-rhas4.06112310.i386) scriptlet failed, exit status 2
What can I do to remove it?
I have just one problem left - I installed a package in YUM repository, php5-ioncube. When I try to remove it, I get the error:
/var/tmp/rpm-tmp.12995: line 19: unexpected EOF while looking for matching `"'
/var/tmp/rpm-tmp.12995: line 23: syntax error: unexpected end of file
error: %preun(php5-ioncube-3.0-rhas4.06112310.i386) scriptlet failed, exit status 2
What can I do to remove it?
Here it is:
rpm -qi php5-ioncube
Name : php5-ioncube Relocations: (not relocatable)
Version : 3.0 Vendor: (none)
Release : rhas4.06112310 Build Date: Wed 22 Nov 2006 10:15:19 PM CST
Install Date: Fri 15 Dec 2006 11:25:12 PM CST Build Host: rhas4-build.sbvz. plesk.ru
Group : Development/Languages Source RPM: php5-ioncube-3.0-rhas4.0 6112310.src.rpm
Size : 995976 License: SWsoft
Signature : (none)
Summary : PHP ionCube Loader
Description :
PHP ionCube Loader
And
rpm -ql php5-ioncube
/opt
/opt/php51/lib/php5
/opt/php51/lib/php5/ioncube_loader_lin_5.1.so
By the way, ionCube seems to work now that I have installed it manually - what could this broken rpm cause?
rpm -qi php5-ioncube
Name : php5-ioncube Relocations: (not relocatable)
Version : 3.0 Vendor: (none)
Release : rhas4.06112310 Build Date: Wed 22 Nov 2006 10:15:19 PM CST
Install Date: Fri 15 Dec 2006 11:25:12 PM CST Build Host: rhas4-build.sbvz. plesk.ru
Group : Development/Languages Source RPM: php5-ioncube-3.0-rhas4.0 6112310.src.rpm
Size : 995976 License: SWsoft
Signature : (none)
Summary : PHP ionCube Loader
Description :
PHP ionCube Loader
And
rpm -ql php5-ioncube
/opt
/opt/php51/lib/php5
/opt/php51/lib/php5/ioncube_loader_lin_5.1.so
By the way, ionCube seems to work now that I have installed it manually - what could this broken rpm cause?
Hi, i'm having a problem with ioncube loaders, don't know wich library to load on php.ini. I need this due to load an installed centova package on system.
I have a fresh centos 5 64 bit, installed ioncube loaders using:
wget -q -O - http://www.atomicorp.com/installers/atomic |sh
yum install php-ioncube-loader
Installed centova and after that when i go to web panel see this:
<?php //0047c
// Copyright 2006-2008, Centova Technologies Inc.
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if (!@dl(basename($__ln))) {$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if((@$__id[1])==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}}else{die('The file '.__FILE__." is corrupted. Ensure that you use binary mode when transferring files with FTP and disable the 'TAR smart cr/lf feature' if using WinZIP\n");}if(function_exists('_il_exec')){return _il_exec();}die('The file <b>'.__FILE__.'</b> has been encoded with the <a href="http://www.ioncube.com">ionCube PHP Encoder</a> and requires the free '.basename($__ln).' <a href="http://www.ioncube.com/loader_download/">ionCube PHP Loader</a> to be installed.');
?>
4+oV521zuXeaFTTTMM5tEH7txZDzGvuF51e6sONGIeBGWH4a2A2Zxu2KJP9YoXkpuyvWPhMj4UIb
TO8Qt3uFEw6dISU/uVWhaE64xVm9aBOu4OjIfu8mNGYwAWaUUUpWSpPW2jv2aNqb/Ddk/4UaXaON
xzhtNmaP3vEQnDECVkW5zTHvkCvgO4NmE+fSOCtK8bPFBPMkIxJZ1FkDrRcBawWjZ/elpgnMfNXR
MjjcTzyG1jJTMPyJ/u3ZkA+W5Tox3te0GTwnVnr2zGpNS3ERERlb0QYCFgV09xCKMOAPIr41Kbl3
BWZkqQFH2RPEEU5p0B2tP5z6r2pp5h5Yx8DB/qAI+NjYSVgAROoGWnCT6Z4bniBqmbN03GPwZFCE
I think i just need to load the "os" file, right? wich one? how?
Thanks in advance
I have a fresh centos 5 64 bit, installed ioncube loaders using:
wget -q -O - http://www.atomicorp.com/installers/atomic |sh
yum install php-ioncube-loader
Installed centova and after that when i go to web panel see this:
<?php //0047c
// Copyright 2006-2008, Centova Technologies Inc.
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if (!@dl(basename($__ln))) {$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if((@$__id[1])==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}}else{die('The file '.__FILE__." is corrupted. Ensure that you use binary mode when transferring files with FTP and disable the 'TAR smart cr/lf feature' if using WinZIP\n");}if(function_exists('_il_exec')){return _il_exec();}die('The file <b>'.__FILE__.'</b> has been encoded with the <a href="http://www.ioncube.com">ionCube PHP Encoder</a> and requires the free '.basename($__ln).' <a href="http://www.ioncube.com/loader_download/">ionCube PHP Loader</a> to be installed.');
?>
4+oV521zuXeaFTTTMM5tEH7txZDzGvuF51e6sONGIeBGWH4a2A2Zxu2KJP9YoXkpuyvWPhMj4UIb
TO8Qt3uFEw6dISU/uVWhaE64xVm9aBOu4OjIfu8mNGYwAWaUUUpWSpPW2jv2aNqb/Ddk/4UaXaON
xzhtNmaP3vEQnDECVkW5zTHvkCvgO4NmE+fSOCtK8bPFBPMkIxJZ1FkDrRcBawWjZ/elpgnMfNXR
MjjcTzyG1jJTMPyJ/u3ZkA+W5Tox3te0GTwnVnr2zGpNS3ERERlb0QYCFgV09xCKMOAPIr41Kbl3
BWZkqQFH2RPEEU5p0B2tP5z6r2pp5h5Yx8DB/qAI+NjYSVgAROoGWnCT6Z4bniBqmbN03GPwZFCE
I think i just need to load the "os" file, right? wich one? how?
Thanks in advance
Yeah, twice, but no luck.
I also sent an email to centova support and this is the reply:
-------= Cut here =-------
Hello,
The screenshot you provided indicates that the contents of the PHP script are being sent by your web server instead of being processed by PHP. That means that PHP is installed incorrectly (or perhaps not at all) on your server. This has nothing to do with Centova Cast itself -- you'll need to get your systems administrator to your Apache/PHP configuration before Centova Cast or any other PHP script will work on your server.
-------= Cut here =-------
Please, can somebody help me ?
Many thanks.
I also sent an email to centova support and this is the reply:
-------= Cut here =-------
Hello,
The screenshot you provided indicates that the contents of the PHP script are being sent by your web server instead of being processed by PHP. That means that PHP is installed incorrectly (or perhaps not at all) on your server. This has nothing to do with Centova Cast itself -- you'll need to get your systems administrator to your Apache/PHP configuration before Centova Cast or any other PHP script will work on your server.
-------= Cut here =-------
Please, can somebody help me ?
Many thanks.