Questions tagged [zend-optimizer]

Zend Optimizer (now Zend Guard Loader) was created to decrypt PHP files encrypted by Zend Studio/Zend Guard. It can also function as an opcode cache for PHP

Zend Optimizer/Zend Guard Loader is the server-side client for Zend's proprietary encryption of PHP code. Normally, PHP code is stored on the server in plain text. The compiler then interprets this into machine code(opcode) and that machine code is executed. Zend Guard transforms the plain text by using obfuscation techniques and then pre-compiles the PHP, thus bypassing the need to compile it first and securing the code from being reverse engineered easily.

Zend Optimizer became better known for its ability to pre-compile normal PHP files as well, and thus act as an opcode cache. It has since been surpassed in this capacity by Zend , which comes built into PHP 5.5 and later

Zend Optimizer and Zend Guard Loader must be compiled into PHP to use them.

38 questions
17
votes
2 answers

Decode a PHP encoded with 'zend guard'

We have a website maintained by an old employee and it appears it's encoded by Zend Guard including all backups. I know a little about Zend Optimizer, but never considered it for source protection as I know in the end the bytecode will need to be…
DarkWingDuck
  • 2,028
  • 1
  • 22
  • 30
17
votes
10 answers

Is using PHP accelerators such as MMCache or Zend Accelerator making PHP faster?

Does anybody have experience working with PHP accelerators such as MMCache or Zend Accelerator? I'd like to know if using either of these makes PHP comparable to faster web-technologies. Also, are there trade offs for using these?
Kevin
  • 13,044
  • 11
  • 55
  • 76
7
votes
2 answers

PHP Opcode Caching/Zend Acceleration and include_once vs. require_once

I have a colleague who is looking into opcode caching/Zend Acceleration (I've always assumed these are the same thing) for our PHP based application. His Benchmarks appear to indicate that we're NOT seeing a performance benefit if we include our…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
6
votes
4 answers

Making Zend-Framework run faster

What are the best ways to make Zend-Framwork run faster besides Zend Optimizer? If I remember correctly, parsing .ini files in PHP takes a long time. Therefor I cache it (the file won't change during a request) Are there any other ways to improve…
Wouter Dorgelo
  • 11,770
  • 11
  • 62
  • 80
6
votes
3 answers

Opcache - Clean cache in PHP5.4 and lower

Is there a way to clean/reset the cached files using Opcache with PHP5.4 or lower? Here is the opcache_reset() function which just seems to work with PHP5.5 A workaround was to reboot... Edit: I opened an issue on Github
schickling
  • 4,000
  • 4
  • 29
  • 33
4
votes
3 answers

Shorthand if then else performance/optimization in php

Talking about PHP, i would like to ask if there is a difference in performance between these two: $name=($IsBoy)?"George":"Mary"; vs if($IsBoy) { $name="George"; } else { $name="Mary"; } Will these two result to different opcode? If yes,…
Sharky
  • 6,154
  • 3
  • 39
  • 72
2
votes
1 answer

Zend Optimizer is it work a try?

I have a server: Intel Processor: Intel® Xeon® X3450, 4x2x2.66 GHz RAM memory: 8GB ECC DDRIII The per day visitors: 100k unique 400k clicks Basically, 20 domains run from a single script. I do quite often update the script. Daily. I was…
Gajus
  • 69,002
  • 70
  • 275
  • 438
2
votes
0 answers

Configure/compile mod_php (PHP 5.2.17 for Apache 2.2.17) with "Thread Safety" disabled

My Linux distribution is RedHat / CentOS 5.x i386/x86_64. I'm using custom compiled Apache version 2.2.17 (both worker and prefork) modes with mod_php (PHP 5.2.17) custom compiled too. phpinfo() page shows "Thread Safety" is 'enabled'. My problem is…
2
votes
2 answers

suhosin patch or extension and zend optimizer

I have been wondering about the difference between Suhosin Patch and Extension? For example which one of them I should install with PHP 5.2.17 with Xcache 1.3.1 and Zend Optimizer 3.3.0.a? Should it be Suhosin Extension 0.9.32.1? Is Patch version…
Namesniper
  • 355
  • 1
  • 4
  • 10
2
votes
2 answers

tuning PHP Zend Optimizer+

I am looking to tune Zend Optimizer+ on our Zend Server installation. Is there any tool that can show statistics about Zend Optimizer's performance? e.g. number of hits and misses, utilization of shared memory etc. Apart from Optimizer+…
webgr
  • 494
  • 7
  • 14
2
votes
2 answers

What's the difference between Zend Optimizer and Zend Guard Loader? And what do they actually do?

I've got an app which requires Zend Optimizer to run because it's encoded somehow. Search for Zend Optimizer at official Zend site leades to Zend Guard Loader. What's the difference between these programs? Is there a way to install one of them via…
Gherman
  • 6,768
  • 10
  • 48
  • 75
2
votes
1 answer

Is Zend OPCache the same thing as Zend Optimizer+

I'm in a process of upgrading the PHP across all of our servers to 5.5.x I read that the PHP team will be integrating Zend Optimizer+ within the PHP core for the 5.5 release. So I installed that but in phpinfo() there's nothing about zend…
Sk1ppeR
  • 387
  • 5
  • 16
2
votes
0 answers

How can i index pages on Zend Optimizer

Greetings i have a problem with this site http://artwoodflooring.co.uk/ . For some reaseon i can not index the pages, if i try to acces http://artwoodflooring.co.uk/home it returned with the domain/host page. after i spen 3 4 hours i look at some…
2
votes
3 answers

Run php files without Installing Zend optimizer

I am trying to run php files on localhost, the php files are encoded with zend, which I am actually not sure why and what purpose does it have. I get the message that to run the files you should download Zend optimizer. My question is can I run the…
Mike
  • 3,348
  • 11
  • 45
  • 80
1
vote
1 answer

Does the Zend lucene search engine work with just Zend Optimizer?

I got it working locally but had to install the whole Zend framework, I am about to try to get this working on my unix server which has Zend Optimizer. I did php -m to check and was wondering if I can install Zend_Search_Lucene with Zend Optimizer…
iwek
  • 1,608
  • 5
  • 16
  • 31
1
2 3