ispCP - Board - Support
[SOLVED] [OT ] problem whit Ioncube and ZendOptimizer - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] [OT ] problem whit Ioncube and ZendOptimizer (/thread-7765.html)



[SOLVED] [OT ] problem whit Ioncube and ZendOptimizer - theprincy - 09-05-2009 12:00 AM

i have this problem

Code:
PHP Warning:  Module 'ionCube Loader' already loaded in Unknown on line 0
The ionCube PHP Loader is disabled because of startup problems.
PHP Fatal error:  [Zend Optimizer] Extension "Zend Optimizer" cannot be loaded twice in Unknown on line 0

in practice, the system says that is loaded twice, theoretically enough to correct the call in the php.ini file or where is the lure, but it is not possible because if I disable the module that calls the functions info.php going to see there ' there is no trace of it in zend ionCube, reactivates the form and found only one call.

I tried to see the log syslog, error.log, domain.log but I find no trace of errors, there are other logs for errors?


this is module zend.ini in /etc/php5/cgi/conf/

Code:
[IonCube]
zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.2.so


[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

php -v

PHP Warning: Module 'ionCube Loader' already loaded in Unknown on line 0
The ionCube PHP Loader is disabled because of startup problems.
PHP Fatal error: [Zend Optimizer] Extension "Zend Optimizer" cannot be loaded twice in Unknown on line 0


info.php

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright © 1998-2008 Zend Technologies
with the ionCube PHP Loader v3.1.34, Copyright © 2002-2009, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright © 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright © 1998-2007, by Zend Technologies

____________________________________________________

I had written the code in the file / etc/php5/cli/php.ini