Install pear in windows xp
Environment: PHP4.3.10 + Windows XP
Installation steps:
1) work before installation
There is a go-pear.bat file under the folder generated after installing PHP
(My is C:/PHP/go-pear.bat)
2) execute the installer
Double-click the go-pear.bat, when there is a question and answer, all press Enter"
3) append path
Open your php. ini file and go
; Paths and Directories;
See if there is "include-path =". If not, append the file. If yes, add pear.
Include-path = ".; C: \ PHP \ smarty \ libs; c \: php \ pear"
4) view the PHP folder
In addition to go-pear.bat files, pear. bat and PEAR_ENV.reg
5) modify the Registry
Double-click the PEAR_ENV.reg file and select "OK" to complete the modification.
6) Automatic Setting of Environment Parameters
Double-click the pear. bat file.
7) check whether the installation is successful
Open the prompt command and enter "pear list" to check whether all libraries installed in the pear folder (my files are: c \: php \ pear) are displayed.
For more information, see PEAR installation.