# cd /usr/ports/devel/ZendOptimizer/ # make # cd /usr/ports/devel/ZendOptimizer/work/ZendOptimizer-* #./install-tty
不要選擇apache
php.ini
# vi /usr/local/etc/php.ini [Zend] zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0 zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0 zend_optimizer.version=3.3.0a zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so