How to install PHP PEAR Packaes behind a Proxy or Firewall

1. Configure your Proxy/Firewall settings to PHP PEAR

pear config-set http_proxy http://<user>:<password>@<proxy-adress>:<proxy-port>

Sample PEAR command on Windows XP:

how-to-install-php-pear-package-behind-proxy-firewall-1

 

2. Now you can install any PHP PEAR Package with “pear install <package>”

Sample PEAR command on Windows XP to install the SOAP-0.12.0 Extension Package:

PHP-PEAR-Installation-SOAP-Package-behind-Firewall-Proxy

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top