Results 1 to 4 of 4
  1. #1

    Zend Optimizer Failed to Load after PHP 5.3 Upgrade

    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?

  2. #2
    It looks like the first error says;

    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
    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

  3. #3
    Join Date
    Jul 2013
    Posts
    296
    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.

  4. #4
    Yup, I believe the errors noted above will also still come into place as those options have been depreciated with php 5.3x+

Similar Threads

  1. disabling ZEND optimizer decreases load??
    By chamelion in forum VPS Hosting
    Replies: 5
    Last Post: 04-10-2006, 01:13 AM
  2. Failed loading /usr/local/Zend/lib/Optimizer-2_6_2/php-4.3.x/ZendOptimizer.so
    By ukbill69 in forum Hosting Security and Technology
    Replies: 0
    Last Post: 03-09-2006, 03:45 PM
  3. zend optimizer manual install failed
    By cmanns in forum Hosting Security and Technology
    Replies: 0
    Last Post: 02-04-2006, 03:43 AM
  4. Replies: 1
    Last Post: 01-20-2006, 12:03 PM
  5. Do NOT upgrade to PHP 4.3.10 without upgrading Zend Optimizer as well
    By Jeremy Johnstone in forum Hosting Security and Technology
    Replies: 4
    Last Post: 12-16-2004, 04:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •