I have PHP5 installed via macports in /opt/local/..the default location for macports. There's no portfile for pear. If I do a standard pear install from the pear site what directory location should pear be placed in to work with PHP?
Yes, the standard PEAR packages are included in all PHP installations.
To install the PEAR package manager by using the Web front end, follow these steps: Point your browser at http://pear.php.net/go-pear. Your browser displays the PHP source as plain text. Choose File Save As or File Save Page As (depending on your browser).
While the curl option works, it won't update as you update your ports. An alternative:
sudo port install php5 +pear
This will install the variant of php5 with pear, in the same location as downloading above, and it will update as you update macports.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With