How to install PEAR for PHP in Linux
Install PEAR for PHP in Linux
PEAR is a structured library of open-source code for users of PHP. When pear is not installed in your server, then install it. You can easily install PEAR for php in Linux.
In this article we will give you how to install PEAR for php in Linux. Follow the steps for Installing PEAR.
Step 1 : Download the installation php file.
Step 2 : Rename to php file by using following command.
cp go-pear go-pear.php
Step 3 : Run the php script.
Then, Windows Command Prompt to start the installation.
Step 4 : You can install php various extensions by using following command.
pear install package
After installing PEAR, you can install modules by going to the PEAR admin at example :-
hostripples.com/pearadmin, where hostripples.com is your domain name.