XAMPP 安装APC模块

来源:互联网 发布:毛少将知乎 编辑:程序博客网 时间:2024/06/06 19:00
因为学习symfony需要,安装APC
How I installed APC with the latest xampp :


Go to http://downloads.php.net/pierre/
Download php_apc-3.1-svn20101116-5.3-vc6-x86.zip (Direct link : http://downloads.php.net/pierre/php_apc-3.1-svn20101116-5.3-vc6-x86.zip)
Copy php_apc.dll to C:\xampp\php\ext
Open php.ini (C:\xampp\php\php.ini)
Find the extension list (extension=) and add extension=php_apc.dll
Restart apache


You can also use this custom configuration (add it at the end of php.ini) :


CODE: SELECT ALL
[APC]
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64
apc.max_file_size = 10M
apc.stat = 1
0 0
原创粉丝点击