Portal Home > Knowledgebase > Articles Database > Zend Optimizer Failed to Load after PHP 5.3 Upgrade
Zend Optimizer Failed to Load after PHP 5.3 Upgrade
Posted by mrdb, 11-05-2013, 03:44 PM |
Hi
I just upgraded my php from 5.x to 5.3 within Plesk.
Then my zend dies!
So I understand I need to upgrade the Zend version which I did to what I thought was Zend Guard Loader (as Optimizer isn't compatible with 5.3 I believe?)
Now it is saying ZendOptimizer failed loading with the error below. I'm also wondering why it is referring to Optimizer when I thought I installed Guard. If I try and reinstall Zend Gaurd again I get the below that.
PHP-v:
Failed loading /usr/lib/php/modules/ZendOptimizer.so: /usr/lib/php/modules/ZendOptimizer.so: undefined symbol: zend_unmangle_property_name_ex
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/imagick.so' - /usr/lib/php/modules/imagick.so: undefined symbol: php_set_error_handling in Unknown on line 0
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.3 (cli) (built: Jun 27 2012 12:25:37)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd.
Zend Guard Install error:
--> Finished Dependency Resolution
php53-sqlite2-5.3.2-11070811.i386 from installed has depsolving problems
--> Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11070811.i386 (installed)
Error: Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11070811.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
Any ideas?
|
Posted by flewid, 11-30-2013, 07:15 PM |
It looks like the first error says;
So, you would probably need to edit your php.ini file, or your .htaccess and set it so you're not trying to use safe_mode, and php_set_error_handling directives. And then following that you probably have to install imagick and it's development files (not sure on yum systems, we use gentoo or ubuntu) and then try installing the module again.
note, i do also think anything encoded for 5.2 will need to be re-encoded for 5.3 as well.
hth
|
Posted by Genius Guard, 11-30-2013, 08:57 PM |
for PHP 5.3 you should upgrade Zend Loader for PHP 5.3, All php code should re-encode again with PHP 5.3 encoder to use it on new loader.
|
Posted by flewid, 11-30-2013, 09:00 PM |
Yup, I believe the errors noted above will also still come into place as those options have been depreciated with php 5.3x+
|
Add to Favourites Print this Article
Also Read
NOC and DC (Views: 465)