Install APC on Windows

后端 未结 6 1641
悲哀的现实
悲哀的现实 2021-02-04 05:17

How can I install APC on Windows? I am using PHP 5.3, Windows 7 x64.

I used

pecl install apc

I got

C:\\PHP>pecl in         


        
6条回答
  •  没有蜡笔的小新
    2021-02-04 05:53

    For php 5.3 you use php.net/pierre/php_apc-3.1.10-5.3-vc9-x86.zip.

    Download it and copy php_apc.dll to your php ext directory. (I choose the file under ts I have thread safe php installation. There is also an apc dll file for non thread safe.)

    Add extension=php_apc.dll into your php.ini file

    Restart your web server

    Run phpinfo() to see if it's installed or not.

    I am using php 5.4 and I downloaded php.net/pierre/php_apc-3.1.10-5.4-vc9-x86.zip and its working fine.

    Hope this will help mate.Good luck.

提交回复
热议问题