SoFunction
Updated on 2025-04-11

Install pear under windows xp

Environment: PHP4.3.10 + Windows XP

Installation steps:

1) Work before installation
There is a file under the folder generated after installing PHP
(My is C:/PHP/)

2) Execute installer
Double-click, when there is a question and answer, press "Enter" all

3) Append path
Open your file,

    ; Paths and Directories ;

Let’s see if there is any “include-path=". If not, add it. If there is one, add the pear.
    include-path=".;C:\PHP;C:\PHP\smarty\libs; c\:php\pear"

4) View PHP folder
In addition to files, there are more and PEAR_ENV.reg

5) Registration modification
Double-click the PEAR_ENV.reg file and select "ok" to complete the modification

6) Automatic setting of environmental parameters
Double-click the file

7) Confirm whether the installation is successful or not
Open the propt command and enter "pear list" to see if the library is displayed below the folder pear (My is: c\:php\pear).

If you want to know more, please refer toPEAR installation