PEAR in cPanel

In order to configure PEAR with cPanel you need to follow these steps:

1. In the WHM you need to be sure that you have configured Apache with PEAR.
2. If PEAR is not active in Apache go to easyApache and in Exhaustive List of Modules, check “PEAR” and compile Apache again.
3. Now, every normal user in cPanel will have the option to select the packages they want from their cPanel -> Software/Services -> PHP PEAR Packages.
4. (Additional) If an user doesn’t have the option at Step 3, be sure that in WHM -> Software -> Module Installers -> you have installed PEAR.
5. (Additional) If you get the following error:

PEAR configuration files "/.pearrc", "/usr/etc/pear.conf" does not exist

copy pear.conf from /etc/pear.conf -> /usr/etc/pear.conf

Tags: , ,

2 Responses to “PEAR in cPanel”

  1. Aaliyah Wood says:

    It is also easy to backup and transfer all your websites from one server to another server if you have cPanel installed-’;

  2. Adrian Pintilie says:

    Yes, true. We use that feature quite a lot:)

Leave a Reply