Install APC on Windows

后端 未结 6 1597
悲哀的现实
悲哀的现实 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 06:00

    Installing an extension with the pecl command means :

    • downloading the sources
    • compiling them

    And, generally speaking, a windows machine doesn't have what's required to compile software like PHP and/or PHP extensions.


    A better / easier solution, in your case, would probably be to find a pre-compiled .dll of the extension, that matches your system and your version of PHP.

    With a bit of luck, maybe one of the versions provided on http://downloads.php.net/pierre/ could be OK ?
    (It's what kind of acts as replacement of the old pecl4win, until the extensions for windows are available on windows.php.net)

    For more informations about which version you should use, take a look at the Which version do I choose? section, in the left side-bar of http://windows.php.net/

提交回复
热议问题