Installing PEAR on Mac OS X
I recently used the wonderful PHP Apache module for Mac OS X from Mark Liyanage's entropy.ch website. I was very impressed with how easily it upgraded my Mac's default PHP 4 installation. I highly recommend this package for those wanting to run PHP locally on a Mac.
Unfortunately, I'm having problems with getting PHP to recognize PEAR. I think I need to reset PEAR's install directory, from /usr/lib/php to /usr/local/php5/lib/php, however running "set PHP_PEAR_INSTALL_DIR /dir/" on the command line generates an error.
I've posted full disclosure of the issue on the entropy.ch forums, but alas no one has submitted a response yet. If you think you have an answer, please head over to the forum thread and spread some good karma!
















February 10th, 2006 at 7:45 pm
Did you ever get this one figured out? I'm running into the same problem. pear config-settings are all set to the correct new paths. I've upgraded the entire PEAR package. Still can't get PHP to see it.
February 10th, 2006 at 9:29 pm
Hello Peter–
Thank you for your comment. 'Fraid not, I have not resolved my issues with Pear installed on Mac OS X. Mind you, I haven't done much research into this since mid-December. I will be getting back into this very soon, and I will certainly post any findings here. Please do let me know if YOU find a solution!
cheers
SAM
October 8th, 2007 at 1:08 pm
i am searching for this solution as well, any luck for you guys yet? unfortunately the entropy website is down, which makes things very difficult.