Search code examples
phppear

Install Pear Extension with PHP Installer


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?


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