与xcache类似的,ioncube是为数不多能够在windows+apache环境使用的php优化工具之一。其作用与大名鼎鼎的Zend Optimizer大抵相似,但是如之前WAMP安装后对php提速优化一文中介绍到的,Zend Optimizer只支持到php5.2.x,而新的Zend Guard Loader虽然支持php5.3.x,但是只能在windows+IIS中使用。
ioncube的优化效果相当好,如果是在windows+apache中使用的是php5.3版本的话,Robin极力推荐安装此插件。安装方法如下:
1. 下载ioncube_loaders_win_vc9_x86.zip (百度最新)
2. 将压缩包内的ioncube_loader_win_5.3.dll拷贝至wamp\bin\php\php5.3.8\zend_ext目录下
3. 在wamp\bin\apache\Apache2.2.21\bin\php.ini中添加
zend_extension = “d:/dev/wamp/bin/php/php5.3.8/zend_ext/ioncube_loader_win_5.3.dll”
注意: 如果使用xdebug的话,ioncube_loader.dll的zend_extension声明要放在xdebug的zend_extension之前
4. 重启wamp服务
5. 将压缩包内的loader-wizard.php拷贝至wamp\www目录下
在浏览器中键入http://yourdomain/loader-wizard.php,cache会自动安装,安装完成后给出成功信息:
Loader Installed
The ionCube Loader version 4.0.11 for PHP 5.3 is already installed and encoded files should run without problems.
2016年10月
共有(1)文章
2016年1月
共有(1)文章
2015年5月
共有(1)文章
2014年6月
共有(1)文章
2013年9月
共有(1)文章
2013年3月
共有(2)文章
2012年8月
共有(4)文章
2012年7月
共有(2)文章
2012年6月
共有(5)文章
2012年5月
共有(9)文章
2012年4月
共有(30)文章
2012年3月
共有(67)文章
2008年12月
共有(1)文章