PHP 5 - PEAR - Installation

In this tutorial, we will see how to install PEAR with PHP 5 on Windows 7.

We, of course, assume that you already installed PHP.

For example, the PHP path installation is:

C:\Program Files (x86)\PHP\php-5

Inside there is a file named:

go-pear.bat

Double click it.

A black window appears asking you what installation do you prefer.

Write:

system

A suggestion appears asking you if the default directories for the PEAR installation.

Push ENTER key.

The installation begins.

In your PHP directory, there is now a file named PEAR_ENV.reg.

Double click it.
Click YES then OK.

Restart your computer.

Once done, open a command line, where you want and write this:

pear version

If you see something like that below, it means that PEAR is ready to be used:

PEAR Version: 1.9.1
PHP Version: 5.3.6
Zend Engine Version: 2.3.0

 

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.