PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Компиляция общих расширений с помощью команды pecl> <Загрузка расширений PECL
Last updated: Fri, 14 Nov 2008

view this page in

PECL для пользователей Windows

Как и в случае DLL расширения PHP, установка проста и заключается в копировании файла DLL расширения PECL в директорию extension_dir и подключением затем его через php.ini. Например, добавьте следующую строку в ваш php.ini:

extension=php_extname.dll
   

После выполнения этих действий, перезапустите web-сервис.



add a note add a note User Contributed Notes
PECL для пользователей Windows
chris
12-Nov-2008 06:33
In response to soazine:

I've found, using wampserver, that the only configuration file that needs to be edited is the one listed under "Loaded Configuration File" given by phpinfo(). Those for whom this doesn't work should refer to soazine's steps.
stuart at kaihatsu dot co dot uk
07-Feb-2008 11:22
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.
soazine at erols dot com
30-Jul-2007 03: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.

 
show source | credits | sitemap | contact | advertising | mirror sites