php版本是5.4.3,从这里下了个
http://downloads.php.net/pierre/
php_apc-3.1.10-5.4-vc9-x86.zip
解压到ext目录下extension="D:/php/ext/php_apc.dll"
[apc]
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64
apc.optimization = 0
apc.num_files_hint = 1000
apc.ttl = 0
apc.gc_ttl = 3600
apc.cache_by_default = On
apc.slam_defense = 0
apc.file_update_protection = 2
apc.enable_cli = 0
apc.stat=0apache的logPHP Warning: PHP Startup: Unable to load dynamic library 'D:/php/ext/php_apc.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
http://downloads.php.net/pierre/
php_apc-3.1.10-5.4-vc9-x86.zip
解压到ext目录下extension="D:/php/ext/php_apc.dll"
[apc]
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64
apc.optimization = 0
apc.num_files_hint = 1000
apc.ttl = 0
apc.gc_ttl = 3600
apc.cache_by_default = On
apc.slam_defense = 0
apc.file_update_protection = 2
apc.enable_cli = 0
apc.stat=0apache的logPHP Warning: PHP Startup: Unable to load dynamic library 'D:/php/ext/php_apc.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
extension_dir = "D:\php\ext"
; On windows:
; extension_dir = "ext"下面这些都可以用。
extension=php_gd2.dll
extension=php_imap.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_mysqli.dll
PHP Warning: PHP Startup: apc: Unable to initialize module\nModule compiled with module API=20090626\nPHP compiled with module API=20100525\nThese options need to match\n in Unknown on line 0
也有这种的
PHP Warning: PHP Startup: apc: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20100525\nThese options need to match\n in Unknown on line 0
看来不是没读到,究竟什么问题。