Product:
Search Type:

[Info] Configuring PEAR in PHP

Article ID: 995 
Last Review: Sep,25 2007
APPLIES TO:
  • Plesk for Windows

RESOLUTION

To configure PEAR bundled with PHP the following steps need to be completed:

1. Launch command prompt.

2. CD "%plesk_dir%Additional\Php\".

Note: The folder can be different - e.g. in case of using PHP5.

3. Execute go-pear.bat and follow the on-screen instructions.

4. Add the path to the newly created pear.bat file into the PATH system variable after installation and reboot the machine for changes to take effect.

These actions will install the 'pear' command on your server including basic pear packages. You can use 'pear' command from the Windows command prompt to manage PEAR packages.

Please, visit http://pear.php.net for more detailed information on configuring and using PEAR packages.

Additional information

See also http://pear.php.net/manual/en/installation.getting.php 
Keywords: PHP PEAR set up install activate

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields