Home  >  Q&A  >  body text

Install PHP extension on Windows

<p>I'm using Windows XP Home Edition. I need to install some PHP extensions like memcache, APC etc. I would very much like to be able to use PECL to achieve this goal. The problem is that PECL defaults to thinking that I already have certain programs installed on my computer. In another post, I read a tip about needing to install Microsoft Visual Studio C on the machine, for example. However, the new version of Visual Studio I downloaded does not have msdev.exe, but instead uses vcbuild.exe, which has a completely different API and cannot compile the .dsp files that come with these modules. </p><p>So I tried to find a script that would upgrade the dsp to be compatible with vcbuild.exe... turns out vcbuild.exe could do it, but of course without success. </p><p> Another thing I tried was looking for a build script for Windows (nmake2make). But there is no make file in the module's root directory. <br /> I also tried downloading Cygwin and MinGW in hopes of finding a simple build script like in *nix OS, but with no success. </p><p>How to install PHP extension on Windows machine? Can anyone help me out of this dilemma? </p><p><br /></p>
P粉204079743P粉204079743475 days ago553

reply all(1)I'll reply

  • P粉988025835

    P粉9880258352023-07-27 10:05:48

    For all those who come to download dll expansion files.

    This is the link to the PHP extension download link: http://windows.php.net/download/

    This is a list of PHP extensions to download: http://pecl.php .net/package-search.php

    For core extensions, or if you can't find any extensions on pecl.php.net, you can download them from the zip package http://windows.php.net/download/ PHP and look into the /ext folder and copy them to your local php /ext folder.

    reply
    0
  • Cancelreply