- 相關(guān)推薦
安裝xcache for php5.3 的具體操作步驟
wget http://xcache.lighttpd.net/pub/Releases/1.3.0/xcache-1.3.0.tar.gz
sudo tar -xzvf xcache-1.3.0.tar.gz
cd xcache-1.3.0
sudo /usr/local/php-5.3.3/bin/phpize
sudo ./configure --with-php-config=/usr/local/php-5.3.3/bin/php-config
sudo make
sudo make install
sudo cat xcache.ini >> /usr/local/php-5.3.3/lib/php.ini [如果權(quán)限還不夠的話,就切換到root]
配置php.ini
;author:zhxia
[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
;zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
;開(kāi)啟下面行也可以
;zend_extension=/usr/local/php-5.3.3/lib/php/extensions/no-debug-non-zts-20090626/xcache.so
;; For windows users, replace xcache.so with php_xcache.dll
;zend_extension_ts = c:/php/extensions/php_xcache.dll
;; or install as extension, make sure your extension_dir setting is correct
;這行開(kāi)啟也可以,均能夠添加xcache模塊,修改只有記得重啟fpm
extension = xcache.so
;; or win32:
; extension = php_xcache.dll
【安裝xcache for php5.3 的具體操作步驟】相關(guān)文章:
金蝶KIS專業(yè)版產(chǎn)品安裝步驟詳解05-05
臨摹的方法與步驟03-20
細(xì)致的泡茶步驟04-19
績(jī)效管理的步驟06-09
正確的化妝打底步驟02-15
男士化妝步驟詳解11-09
泡茶的禮儀和步驟03-17
如何化妝步驟教程01-30
女士化妝的基本步驟09-04