phpfarm icon indicating copy to clipboard operation
phpfarm copied to clipboard

Added a script for compiling PECL extensions

Open trivoallan opened this issue 13 years ago • 3 comments
trafficstars

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.

trivoallan avatar Oct 31 '12 11:10 trivoallan

I'd rather like to see the php-specific pyrus instance to be used to download the pecl extension instead of the "pecl" command.

cweiske avatar Dec 20 '12 14:12 cweiske

Hi,

Ok, using this command : http://pear.php.net/manual/en/pyrus.commands.build.php ?

trivoallan avatar Dec 21 '12 09:12 trivoallan

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.

cweiske avatar Dec 21 '12 10:12 cweiske