Hello,
I had Zend Guard Loader installed over Plesk 10.4.4. When I updated to 11.0.9 Zend Guard Loader stop to work.
I found two changes:
1.- Lines I added on php.ini for Zend Guard loader was commented:
[Zend.loader]
;zend_extension=/usr/local/lib/zend/ZendGuardLoader.so
;zend_extension=/usr/lib/php5/20090626/ioncube_loader_lin_5.3.so
;zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.3.so
;zend_optimizer.optimization_level=15
;zend_loader.enable=1
;zend_loader.disable_licensing=0
;zend_loader.obfuscation_level_support=3
;zend_loader.license_path =
2.- Found a file called zend_extensions_psa.ini on /etc/php5/conf.d with this content:
; Following directives were moved from php.ini files by Plesk to avoid load order errors
; Please do not add any zend_extension* or extension directives directly into php.ini
If I add the line:
zend_extension=/usr/local/lib/zend/ZendGuardLoader.so
to:
00-ioncube-loader-5.3.ini under etc/php5/conf.d and restart apache:
root@xxx:/etc/php5/conf.d# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
root@xxx:/etc/php5/conf.d# php -v
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
root@xxx:/etc/php5/conf.d# top
So if I can´t add lines to php.ini... Can you please tell me what I have to do to fix the problem? Where I hace to add the lines to load Zend Guard loader? Thanks
I had Zend Guard Loader installed over Plesk 10.4.4. When I updated to 11.0.9 Zend Guard Loader stop to work.
I found two changes:
1.- Lines I added on php.ini for Zend Guard loader was commented:
[Zend.loader]
;zend_extension=/usr/local/lib/zend/ZendGuardLoader.so
;zend_extension=/usr/lib/php5/20090626/ioncube_loader_lin_5.3.so
;zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.3.so
;zend_optimizer.optimization_level=15
;zend_loader.enable=1
;zend_loader.disable_licensing=0
;zend_loader.obfuscation_level_support=3
;zend_loader.license_path =
2.- Found a file called zend_extensions_psa.ini on /etc/php5/conf.d with this content:
; Following directives were moved from php.ini files by Plesk to avoid load order errors
; Please do not add any zend_extension* or extension directives directly into php.ini
If I add the line:
zend_extension=/usr/local/lib/zend/ZendGuardLoader.so
to:
00-ioncube-loader-5.3.ini under etc/php5/conf.d and restart apache:
root@xxx:/etc/php5/conf.d# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
root@xxx:/etc/php5/conf.d# php -v
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
root@xxx:/etc/php5/conf.d# top
So if I can´t add lines to php.ini... Can you please tell me what I have to do to fix the problem? Where I hace to add the lines to load Zend Guard loader? Thanks
Last edited: