Skip to content
Advertisement

Install PECL on Mac OS X 10.6

Is there any way to install PHP:s PECL handler on Mac OS X 10.6, to be used with the bundled PHP?

Advertisement

Answer

Better late than never, but if you are like me and installed PHP directly from php.net (instead of using something like Homebrew or Port, then you can simply follow the following link to install Pear and PECL:

http://akrabat.com/php/setting-up-php-mysql-on-os-x-10-7-lion/

We need PEAR! For some reason, it’s not set up ready to on Lion, but the install phar file is here, so we just need to run it.

JavaScript

It worked fine for me.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement