到Zend下載Zend Optimizer,(下載時要註冊,就填個e-mail就行了,很容易的)
我發現它的安裝方法和網路上分享的不一樣。大概是新的方法有改過。
但是步驟是挺簡單的,如下
1. Extract the Zend Optimizer package.
2. Locate the ZendOptimizer.so (Unix) or ZendOptimizer.dll (Windows) file in the directory which
corresponds to your version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x).
2. Add the following line to your php.ini file:
Linux and Mac OS X: zend_extension=<full_path_to_ZendOptimizer.so>
Windows: zend_extension_ts=<full_path_to_ZendOptimizer.dll>
Windows non-thread safe: zend_extension=<full_path_to_ZendOptimizer.dll>
(*) The Windows non-thread safe binary is only used with Zend Core 2.0.
3. Restart your Web server.