脚本宝典收集整理的这篇文章主要介绍了ubuntu下编译安装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.gzcd xcache-1.3.0sudo /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 [如果权限还不够的话,就切换到root]
;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;开启下面行也可以
;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
;这行开启也可以,均能够
添加xcache模块,
修改只有记得重启
FPMextension = xcache
.so;; or win32:
; extension =
PHP_xcache.dll
脚本宝典总结
以上是脚本宝典为你收集整理的ubuntu下编译安装xcache for php5.3 的具体操作步骤全部内容,希望文章能够帮你解决ubuntu下编译安装xcache for php5.3 的具体操作步骤所遇到的问题。
如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。