View Full Version : ionCube problems
Inaba
29th March 2006, 05:12 PM
Well, I tried to upgrade to Plesk 8.0.0.
That was as mistake!
I'm getting this in my apache error log:
PHP Fatal error: [eAccelerator] eAccelerator 0.9.4-rc1 is incompatible with the ionCube PHP Loader 3.0.10 in Unknown on line 0
Why is ionCube even being loaded, now, with Plesk 8? Why was this not even mentioned in any of the documentation for Plesk 8?
Anyone know how to disable ionCube. I've run across it before, and decided that it sucked extremely badly... Why would anyone chose ionCube over Zend?
Anyway - my server is down, now, thanks to this!
jchost
29th March 2006, 05:21 PM
Check in /etc/php.ini or /etc/php.d and remove where the ioncube is getting loaded.
Inaba
29th March 2006, 05:23 PM
Oh yeah ... and when I disabled EAccelerator, I get this:
PHP Fatal error: [ionCube Loader] The Loader must appear in the php.ini file before other extensions in Unknown on line 0
Basically, the ionCube installation that Plesk forces upon you is hosed, plain and simple.
jchost
29th March 2006, 05:25 PM
As for IonCube being loaded, I just now upgraded to 8.0 and don't have any IonCube on my Apache server at all.
Inaba
29th March 2006, 05:29 PM
That's really wierd. I saw it download ionCube while running the upgrade script... so I definitely came from Plesk.
Why would some people get it and others not?
jchost
29th March 2006, 05:31 PM
Maybe it upgraded what you already had installed?
Hultenius
29th March 2006, 06:06 PM
I think Sitebuilder needs ionCube, did you install the Sitebuilder-module along with Plesk 8?
Inaba
29th March 2006, 06:09 PM
Not intentionally if it did install...
I don't run Sitebuilder on my site.
jchost
29th March 2006, 06:15 PM
I never install sitebuilder and the other crap that my license key doesn't support.
Bam-Hosting
30th March 2006, 06:03 AM
I've got problems with the ioncube stuff to, i commented it in php.ini and everything works fine although I need it, serveral scripts of customers use Ioncube.
When I uncomment it and restart apache plesk gives the following error:
ERROR: PleskFatalException
Unable to make action: Unable to manage service by websrvmng: websrvmng: Service apache2 failed to start
0: /usr/local/psa/admin/plib/common_func.php3:170
psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service apache2 failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:30
Anyone have a solution so ioncube does work, I didn't find anything about eaccelerator in my php.ini
jchost
30th March 2006, 06:59 AM
It would be nice if you would try restarting apache manually and looking in its error_log and figuring out why it isnt starting. Plesk's message that it cannot start apache is useless.
Bam-Hosting
30th March 2006, 10:19 AM
In the error log:
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
[Thu Mar 30 17:08:45 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Inaba
30th March 2006, 11:32 AM
What is the contents of your /etc/php.d directory?
Bam-Hosting
30th March 2006, 11:39 AM
Originally posted by Inaba
What is the contents of your /etc/php.d directory?
This directory doesn't exist here.
Inaba
30th March 2006, 12:00 PM
Are you on a Linux based host, or windows?
Bam-Hosting
30th March 2006, 12:05 PM
Originally posted by Inaba
Are you on a Linux based host, or windows?
Using SuSE Linux 9.3
Inaba
30th March 2006, 12:57 PM
That's really wierd you don't have a php.d directory. Probably just a red hat/CentOS thing.
Can you do a search for ioncube-loader.ini ?
tcong
1st April 2006, 02:38 AM
Ioncube problem!
If you do not have php.d directory in /etc, edit your php.ini and include in the last line with the following:
zend_extension = /usr/lib/php4/ioncube_loader_lin_4.3.so
Restart apache.
Try.
Bam-Hosting
1st April 2006, 04:05 AM
Originally posted by tcong
Ioncube problem!
If you do not have php.d directory in /etc, edit your php.ini and include in the last line with the following:
zend_extension = /usr/lib/php4/ioncube_loader_lin_4.3.so
Restart apache.
Try.
I have this line in the php.ini now and had it with version 7.5.4, now I have to comment it otherwise apache wont run.
Bam-Hosting
2nd April 2006, 09:00 AM
Originally posted by Inaba
That's really wierd you don't have a php.d directory. Probably just a red hat/CentOS thing.
Can you do a search for ioncube-loader.ini ?
I searched but didn't find anything.
lvalics
2nd April 2006, 09:23 AM
/etc/php.d/ioncube-loader.ini
Here is the Ioncube loader.
So add here this content ...
zend_optimizer.optimization_level=15
zend_extension=/usr/lib/php4/php_ioncube_loader_lin_4.4.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
zend_optimizer.version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Or of course YOUR CONTENT, this is an example ...
Bam-Hosting
2nd April 2006, 10:01 AM
Originally posted by lvalics
/etc/php.d/ioncube-loader.ini
Here is the Ioncube loader.
So add here this content ...
zend_optimizer.optimization_level=15
zend_extension=/usr/lib/php4/php_ioncube_loader_lin_4.4.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
zend_optimizer.version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Or of course YOUR CONTENT, this is an example ...
Thanks man, by changing a few things it now works.
SergAlex
2nd April 2006, 03:54 PM
ioncube rpm required by Plesk's PPWSE rpm (WebSite Editor). If you don't need it, remove PPWSE and then remove php-ioncube-loader rpm.
That's it.
lvalics
3rd April 2006, 06:00 AM
My suggestion is to not remove, better upgrade to new Ioncube Loader.
A lot of customer can buy different software and is encoded with IonCube ...
Inaba
3rd April 2006, 02:54 PM
No versions of IonCube work with eAccelerator (any version) so one has to go.
Unless you are using the PSWE (Why would you?) - IonCube should be removed with prejudice.
Why anyone builds on IonCube is beyond me... it's a horrible, horrible engine and should be burned at the stake.
vBulletin® v3.6.12, Copyright ©2000-2008, Jelsoft Enterprises Ltd.