On Wed, 10 Jul 2019 at 23:41, Noel da Costa <n...@arc2.co.uk> wrote: > Why are there no instructions for how to install PECL on the PECL website? > Also couldn’t find them on Google. > I’m trying to install `intl` for the version of PHP (7.1.23) shipped with > Mac OS X Mojave. >
As Christoph points out, ext/intl is a "bundled" extension rather than one to be installed from PECL, so it will probably be an optional component or package in the system you installed PHP with. However, to the general question, I believe that installing a PECL extension requires two things: * The PEAR package manager, which includes the "pecl" command-line utility * PHP source code headers corresponding to your build of PHP, since extensions are compiled from source Exactly how to install these will depend how you've installed PHP itself. In many Linux distributions, for instance, you would install a "php-pear" package and a "php-devel" package. The second one in particular is quite hard to provide generic instructions for, because just downloading the source code from php.net might not end up with the version you need to compile against. Regards, -- Rowan Collins [IMSoP]