1. Dowload the latest version of WampServer
2. Get the latest available php_apc.dll (http://downloads.php.net/pierre/), and place this library file into "ext" folder of your PHP addon (for example: C:\Server\bin\php\php5.3.3)
3. Edit the php.ini file, and add this following lines:
extension=php_apc.dll
(after all previous extensions)
-
[APC]
apc.enabled=1
apc.shm_size=32
apc.shm_segments=1
apc.gc_ttl=7200
apc.ttl=7200
apc.num_files_hint=1024
apc.enable_cli=0
apc.file_update_protection=2
apc.optimization=0
to the end of ini file
4. Now you need to restart server for cheking how it works.
4.1 If u have an error about missing dll files, run "go-pear.bat" from PHP addon folder, and see 4 detailed errors about apc.
5. Have fun
(Note: Latest version of PHP in WampServer compiled with VC6. Try to use apc_dll vc6 ext if u have scary problms)
6. Checking: use phpinfo() or apc.php from official apc package which you can get here: [
pecl.php.net]
Edited 3 time(s). Last edit at 01/16/2011 02:43AM by Mein.