Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 18:16:25

Author Topic: "Zend Optimizer" is not installed on the Web Server  (Read 17021 times)

0 Members and 1 Guest are viewing this topic.

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Greetings,
Working on a web project hosted on kloxo (have full rights, own host) and on loading the website the message appears "Zend Optimizer" is not installed on the Web Server.
Couldn't find out how to install it (or enable it) on kloxo-mr.
Please help!

#php-v
PHP 5.3.27 (cli) (built: Dec 16 2013 07:09:30)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
« Last Edit: 2014-05-21, 20:33:42 by EndErr »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #1 on: 2014-05-22, 05:21:06 »
Try another php cache like xcache or apc. Example, for xcache install run 'yum install php53u-xcache'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #2 on: 2014-05-22, 19:55:25 »
Don't know how but now i don't have the php installed. How to reinstall it? Did cleanup and fix-all already.

sh sysinfo

A. Kloxo-MR: 6.5.0.f-2014051901

B. OS: CentOS release 6.5 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el6.i686
   2. PHP: --uninstalled--
   3. Httpd: httpd-2.2.27-1.el6.i686
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.7.0-1.el6.i686
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.i386
   7. Dns: bind-9.9.5-1.el6.i686

D. Php-type (for Httpd/proxy): suphp

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1893       1801         92          0        171       1239
   -/+ buffers/cache:        390       1503
   Swap:         4063          0       4063


 php -v
PHP 5.2.17 (cli) (built: Apr 10 2014 22:58:39)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #3 on: 2014-05-22, 20:07:01 »
Any problem when using php 5.3 for your website?. Select php-branch in 'webserver config' to change php version.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #4 on: 2014-05-22, 21:12:50 »
Can not select php-branch in 'webserver config'! On selecting and click on update noting changes.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #5 on: 2014-05-23, 06:25:46 »
Try change php-branch with 'yum replace php52 --replace-with=php53u'. Maybe something wrong in replace process and you will see in what's wrong in 'yum replace'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #6 on: 2014-05-23, 09:22:14 »
After doing that I've got php55 running thus php53 was prompting for install.
Try to replace it with php53 - no chances.
Removed php with php-common (because it was php55-common) and back installed php-5.3.28,
but now I can't install php53u-xcache.i686 cause php-common dependancy error,
"Package php53u-common is obsoleted by php55-common, but obsoleting package"

So. My server (with clients) is down for 32 hours :( No websites working.
Please advice what to do to have a working php and zend-guard (or xcache)!
Thanks in advice.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #7 on: 2014-05-23, 09:46:05 »
You have a problem with php in your server. Inform here 'yum list installed php*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #8 on: 2014-05-23, 10:12:41 »
Code: [Select]
Installed Packages
php.i686                         5.3.28-4.el6                 @mratwork-centalt
php-bcmath.i686                  5.3.28-4.el6                 @mratwork-centalt
php-cli.i686                     5.3.28-4.el6                 @mratwork-centalt
php-common.i686                  5.3.28-4.el6                 @mratwork-centalt
php-fpm.i686                     5.3.28-4.el6                 @mratwork-centalt
php-gd.i686                      5.3.28-4.el6                 @mratwork-centalt
php-mbstring.i686                5.3.28-4.el6                 @mratwork-centalt
php-mcrypt.i686                  5.3.28-4.el6                 @mratwork-centalt
php-pdo.i686                     5.3.28-4.el6                 @mratwork-centalt
php-pear.noarch                  1:1.9.4-4.el6                @base
php-pecl-geoip.i686              1.0.8-3.el6                  @mratwork-epel
php-pecl-imagick.i686            2.2.2-4.el6                  @mratwork-epel
php-pgsql.i686                   5.3.28-4.el6                 @mratwork-centalt
php-xml.i686                     5.3.28-4.el6                 @mratwork-centalt
php52s.i386                      5.2.17-12.mr.el5             @mratwork-release-version-arch
php53s-common.i386               5.3.28-4.mr.el6              @mratwork-release-version-arch
php53s-pdo.i386                  5.3.28-4.mr.el6              @mratwork-release-version-arch
php53s-pgsql.i386                5.3.28-4.mr.el6              @mratwork-release-version-arch

On trying  to install xcache:

Code: [Select]
yum install php53u-xcache
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53u-xcache.i686 0:3.1.0-1.ius.el6 will be installed
--> Processing Dependency: php53u(zend-abi) = 20090626 for package: php53u-xcache-3.1.0-1.ius.el6.i686
Package php53u-common is obsoleted by php55-common, but obsoleting package does not provide for requirements
--> Processing Dependency: php53u(api) = 20090626 for package: php53u-xcache-3.1.0-1.ius.el6.i686
Package php53u-common is obsoleted by php55-common, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: php53u-xcache-3.1.0-1.ius.el6.i686 (mratwork-ius)
           Requires: php53u(zend-abi) = 20090626
           Available: php53u-common-5.3.6-4.ius.el6.i686 (mratwork-ius-archive)
               php53u(zend-abi) = 20090626
...
...


On openning websites I get:
Code: [Select]
Database Error: Unable to connect to the database:The MySQL adapter "mysqli" is not available.
or
Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available.

I just saw that php-mysql is missing
Code: [Select]
# yum install php53u-mysql
Resolving Dependencies
--> Running transaction check
---> Package php53u-mysql.i686 0:5.3.28-3.ius.el6 will be installed
--> Processing Dependency: php53u-common = 5.3.28-3.ius.el6 for package: php53u-mysql-5.3.28-3.ius.el6.i686
Package php53u-common is obsoleted by php55-common, but obsoleting package does not provide for requirements
--> Processing Dependency: php53u-pdo for package: php53u-mysql-5.3.28-3.ius.el6.i686
Package php53u-pdo is obsoleted by php55-pdo, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: php53u-mysql-5.3.28-3.ius.el6.i686 (mratwork-ius)
           Requires: php53u-common = 5.3.28-3.ius.el6
           Available: php53u-common-5.3.6-4.ius.el6.i686 (mratwork-ius-archive)
               php53u-common = 5.3.6-4.ius.el6

« Last Edit: 2014-05-23, 11:03:53 by EndErr »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #9 on: 2014-05-24, 01:56:24 »
Try 'yum replace php --replace-with=php53s' first.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #10 on: 2014-05-24, 07:26:06 »
After that i've lost php53
Code: [Select]
php -v
PHP 5.2.17 (cli) (built: Apr 10 2014 22:58:39)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

And now I have php uninstalled
Code: [Select]
sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2014051901

B. OS: CentOS release 6.5 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el6.i686
   2. PHP: --uninstalled--
   3. Httpd: httpd-2.2.27-1.el6.i686
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.i386
   7. Dns: bind-9.9.5-1.el6.i686

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1893       1753        139          0        201       1119
   -/+ buffers/cache:        432       1460
   Swap:         4063         13       4050

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #11 on: 2014-05-24, 07:30:54 »
It's better running 'sh /script/upcp -y' to 're-install'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline EndErr

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #12 on: 2014-05-25, 19:17:30 »
Didn't work.
I've installed a fresh box and restored last valid backup.
But still can't use Zend Optiomizer.
After installing xcache nothing changed, the same "Zend Optimizer not installed".
Code: [Select]
php -v
PHP 5.3.28 (cli) (built: May  6 2014 10:13:47)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo
Code: [Select]
sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2014051901

B. OS: CentOS release 6.5 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el6.i686
   2. PHP: php53u-5.3.28-3.ius.el6.i686
   3. Httpd: httpd-2.2.27-1.el6.i686
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.i386
   7. Dns: bind-9.9.5-1.el6.i686

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1893       1668        224          0        225       1026
   -/+ buffers/cache:        416       1477
   Swap:         4063          0       4063

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #13 on: 2014-05-25, 19:59:09 »
Zend Optimizer is php cache like xcache or apc. Don't confuse with 'Zend Engine'. You don't need 'Zend optimizer' if enable xcache, apc or other php cache because make conflict.

That it!.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: "Zend Optimizer" is not installed on the Web Server
« Reply #14 on: 2014-05-25, 22:29:17 »
Actually, Zend Optimizer is not a normal cache, but a way for php5.2 and earlier to display zend encoded files.  Your website is encrypted by zend, hence your error message. For php5.3+ they renamed it to zend guard loader.  Zend optimizer is no longer maintained, supported.  Zend guard is what you need.

First, download correct package from here:
(It is no longer called zend optimizer, now it is zend guard loader)
http://www.zend.com/en/products/guard/downloads

Then copy the files to your server, place the zend guard ini into the etc/php.ini directory.  Restart webserver and php by:
sh /script/restart-web

Now, your website will load :)

More instructions:
http://www.adrianworlddesign.com/Knowledge-Base/Web-Hosting/Zend-Guard/Zend-Guard-Loader-on-CentOS

You should know this stuff Mustafa.
« Last Edit: 2014-05-26, 00:42:18 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.079 seconds with 18 queries.

web stats analysis