Question

I install PHP using the PHP installer. And so, the PEAR package is not included. The question now is I need PEAR for Symfony upgrade purpose, but the resources I found on the internet seem to cater for the case where PEAR package is already included in PHP package.

What is the best way to install PEAR extension, given that I use PHP installer for installation purpose?

Was it helpful?

Solution

I solved the problem.

It turns out that you have to select the PEAR option under extension menu when selecting the components for PHP installation in order to install PEAR package.

http://lh4.ggpht.com/_SDci0Pf3tzU/SgBXLClDWEI/AAAAAAAAEuI/TgnBA_SEHFs/s400/pear%20install.jpg

OTHER TIPS

PEAR is just a set of libraries that ship with PHP, but you can also install PEAR manually.

While you solve the issue with your PHP installation, you can follow the instructions available at http://pear.php.net/manual/en/installation.getting.php under the " PEAR in hosting environments" section.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top