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, 17:32:59

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

0 Members and 1 Guest are viewing this topic.

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 #15 on: 2014-05-26, 05:28:11 »
In php 5.3+ no zend-optimizer but zend-guard-loader. The new one in php 5.5 is opcache.
..:: 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 #16 on: 2014-05-26, 05:41:35 »
Why are you confusing cache mechanism for php with zend decoders?  Opcache has nothing to do with zend guard loader.  And newest version of zend guard loader is for php5.5, zend optimizer was for php5.2 and below.

@enderr, follow my previous reply on installing.  All will work.
Christopher

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

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 #17 on: 2014-05-26, 05:49:34 »
Zend cache in php 5.2 is zend-optimizer (serve by mratwork because no other repo serve it), in php 5.3 is zend-guard-loader (also serve by mratwork with the same reason) and in php 5.5 is opcache (including in php 5.5 by default).

Why different?. It's because Zend itself change (or produce) different name (or technology) of php cache.
..:: 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 #18 on: 2014-05-26, 06:01:54 »
NO!  You are confusing cache with decoders.

Quote
Zend Opcache (ex. Zend Optimizer+)[edit]
Zend Opcache[8] is an open source[9] component of Zend Server and Zend Server Community Edition. Zend Opcache speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvements, the stored bytecode is optimized for faster execution. Unlike Zend Optimizer, Zend Opcache doesn't load files encoded by Zend Guard. Zend provides another component, Zend Guard Loader, in order to load encoded applications with Zend Server and Zend Server Community Edition.

Zend Optimizer+ was renamed to Zend Opcache mid of March 2013.

Starting with PHP 5.5 the Zend Opcache is integrated and shipped with PHP.[10]

Website: http://pecl.php.net/package/ZendOpcache
Sources: https://github.com/zend-dev/ZendOptimizerPlus/
PHP version: full support for PHP 5.2+
Latest stable version: 7.0.2
Status: Actively maintained

Opcache DOES NOT DECODE zend encrypted php files!  Zend guard loader IS THE ONLY decoder for zend encrypted files since php5.3+ AND can run with xcache or opcache as well.


Christopher

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

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 #19 on: 2014-05-26, 06:17:39 »
I mean Zend produce zend-optimizer in php 5.2 but no produce in php 5.3+ but produce zend-guard-loader.

In php 5.5, opcache already include in php itself.
..:: 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 #20 on: 2014-05-26, 10:28:41 »
So finally I did it.
As chrisf sugested the steps are:
1. Download Zend Guard (for php 5.3) from http://www.zend.com/en/products/guard/downloads
2. Unpack archive and upload the module ZendGuardLoader.so to /usr/lib/php/modules/
3. Create a ini file for php integration as in /etc/php.d/zendguard.ini with content
Code: [Select]
; Enable Zend Guard extension module
zend_extension=/usr/lib/php/modules/ZendGuardLoader_53.so
; Enables loading encoded scripts. The default value is On
zend_loader.enable=1
; Disable license checks (for performance reasons)
; zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
; zend_loader.obfuscation_level_support=3
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
; zend_loader.license_path=
5. Restart web services with: sh /script/restart-web
6. The results should look like
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 Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
    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

Thanks for all

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 #21 on: 2014-05-26, 16:41:57 »
No problem. ;)
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.063 seconds with 18 queries.

web stats analysis