-
Website
http://clickontyler.com/blog/ -
Original page
http://clickontyler.com/blog/2008/01/how-to-install-pear-in-mac-os-x-leopard/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Charles
1 comment · 2 points
-
jabberwocky
2 comments · 1 points
-
mise
1 comment · 1 points
-
roshambo
1 comment · 1 points
-
chrismeller
1 comment · 1 points
-
-
Popular Threads
I had to manually enter the prefix as "/usr/share/pear" during the installation process.
I also didn't need to edit the ini file, as the go-pear.php installer did it automatically for me.
Thanks for the instructions.
also how do i put it on my path to call commands without having to type out the full location?
Thanks!
I needed to change the default install location as it was defaulting to the location that I saved go-pear.php (~/Downloads) but apart from that, worked well.
After following your guide, I got the following errors:
Richs-MacBook-Pro:src rich$ pear
/usr/local/bin/pear: line 28: /usr/local/php/bin/php: No such file or directory
/usr/local/bin/pear: line 28: exec: /usr/local/php/bin/php: cannot execute: No such file or directory
So, to get Pear up and happy, I just did:
cd /usr/local/php/bin/
sudo ln -s php.dSYM php
I suppose you could do 'sudo mv php.dSYM php' to rename the binary instead of symlinking it.