phpfarm
phpfarm copied to clipboard
Added a script for compiling PECL extensions
It's just a port of your documentation at http://cweiske.de/tagebuch/phpfarm-install-extensions.htm, but it makes life much easier when recompiling a lot of extensions.
I'd rather like to see the php-specific pyrus instance to be used to download the pecl extension instead of the "pecl" command.
Hi,
Ok, using this command : http://pear.php.net/manual/en/pyrus.commands.build.php ?
That would actually use pyrus to build + install the pecl extension, which is something that does not always work because of pyrus bugs. It is nevertheless the method that should be tried at first by the user:
$ pyrus-5.3.19 install pecl/xdebug $ pyrus-5.3.19 build pecl/xdebug
This does everything already.
Your script should be used when those instructions fail. So internally, use "pyrus-5.3.19 download pecl/xdebug" and then continue with the rest of your script.