This is the only way to get PECL extensions - using the command line installer (similar to the PEAR installer) does not work on Windows...
This does not look like its going to be fixed any time soon...
Also, you should look at http://pecl4win.php.net/ for Windows PECL extensions.
Windows 用户的 PECL
和其它任何 PHP 扩展库的 DLL 一样,把 PECL 扩展库的 DLL 移动到 extension_dir 目录并将其包括入 php.ini 来安装。例如:
extension=php_extname.dll
然后重新启动 web 服务器。
Windows 用户的 PECL
stuart at kaihatsu dot co dot uk
07-Feb-2008 06:22
07-Feb-2008 06:22
soazine at erols dot com
30-Jul-2007 09:16
30-Jul-2007 09:16
When using PHP 5.2.0 within WinXP via Wampserver ( http://www.en.wampserver.com/download.php ) you will find that just simply adding a PECL-based DLL file into php.ini is not enough. Steps you will have to do to ensure that your PECL extension(s) will be recognized are as follows:
1) Have the DLL referenced within PHP's php.ini ("extension=[php_name-of-PECL-extension].dll")
2) Have the DLL referenced within Windows' php.ini
3) Have the DLL within wampserver.ini
If any of these steps are not included, alongside the obvious web services restart, then PECL is not recognized.
