Installing Symfony using PEAR

Symfony is one of the best rapid application development frameworks available for PHP. In this tutorial I am going to discuss the installation steps for Symfony.

From a command line go to PHP’s folder and type the command below.

pear channel-discover pear.symfony-project.com

The result should be a success in discovering the channel. Now, run the following command to check the libraries available in this channel.

pear remote-list -c symfony

Now, install the package using the command below.

pear install symfony/symfony

After successfully completing installation, run command below just to make sure if Symfony has been installed properly or not.

symfony -V

You should see Symfony’s version number indicating that Symfony has been successfully installed on the machine.

Did this tutorial help a little? How about buy me a cup of coffee?

Buy me a coffee at ko-fi.com

Please feel free to use the comments form below if you have any questions or need more explanation on anything. I do not guarantee a response.

IMPORTANT: You must thoroughy test any instructions on a production-like test environment first before trying anything on production systems. And, make sure it is tested for security, privacy, and safety. See our terms here.