zend_optimizer

[Zend]
zend_extension_manager.optimizer_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0"
zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\ZendExtensionManager.dll"

Enable
=====
zend_optimizer.enable_loader = 1

Enable Optimization Pass 9
=====================
zend_optimizer.optimization_level=1023

(PASS1) 1
(PASS2) 2
(PASS3) 4
(PASS4) 8
(PASS5) 16
(PASS6) 32
(PASS7) 64
(PASS8) 128
(PASS9) 256
(PASS10) 512

加密的PHP
==========
zend_optimizer.encoder_loader=1      <-- 系統負荷的加重


 

ZendGuardLoader (Debian6)

直接下載 PHP 5.3 的 GuardLoader

解壓後應該獲得 ZendGuardLoader.so

把它 copy 到 /usr/lib/php5/20090626+lfs

在 /etc/php5/conf.d 加以下檔案

ZendGuardLoader.ini

zend_extension=<full_path_to_ZendGuardLoader.so>
zend_loader.enable=1
zend_loader.disable_licensing=1
zend_loader.obfuscation_level_support=3

最後 apache2ctl graceful 即可

 

Creative Commons license icon Creative Commons license icon Creative Commons license icon