zhouyi 发表于 2015-11-18 09:19:44

windows xampp下安装memcache

windows xampp集成环境中所安装的php本身是没有 memcache扩展的
需要到http://downloads.php.net/pierre/下载对应的版本
下面是我的集成环境参数
###### ApacheFriends XAMPP version 1.7.7 ######

+ Apache 2.2.21
+ MySQL 5.5.16 (Community Server)
+ PHP 5.3.8 (VC9 X86 32bit thread safe) +PEAR
+ XAMPP Control Panel Version 2.5 fromwww.nat32.com
+ (BETA) XAMPP Control Panel Version 3.0.2 bySteffen Strueber (not in the USB & lite version)
    seehttp://www.apachefriends.org/f/viewtopic.php?f=16&t=46743
+ XAMPP Security
+ OpenSSL 1.0.0e
+ phpMyAdmin 3.4.5
+ ADOdb 5.14
+ Mercury Mail Transport System v4.62 (not inthe USB & lite version)
+ FileZilla FTP Server 0.9.39 (not in the USB& lite version)
+ Webalizer 2.23-04 (not in the USB & liteversion)
+ Perl 5.10.1 (not in the USB & liteversion)
+ Mod_perl 2.0.4 (not in the USB & liteversion)
+ Tomcat 7.0.21 (not in the USB & liteversion)
---------------------------------------------------------------
所下载的版本是 php_memcache-2.2.6-5.3-vc9-x86.zip
下载后解压把php_memcache.dll 放到 xampp/php/ext/目录下
然后打开 xampp/php/php.ini 在里面加入一句:extension=php_memcache.dll
重启apache
输出phpinfo();若有memcache扩展,证明扩展安装成功

         版权声明:本文为博主原创文章,未经博主允许不得转载。
页: [1]
查看完整版本: windows xampp下安装memcache