Download go-pear.phar file and place
change path in Command Prompt
- Run go-pear.phar
- Set location
- Alter php.ini
- Add Path Variable into your System.
Install PEAR with wamp server on windows 7
You should download go-pear.phar file from Official site. You can place this file in the following directory,
(This above directory may be different, depend upon your version of PHP)
Give your path and press enter. You can look like following screen.
Now, You can run go-pear.phar file using following code.
Next, that will ask you “Are you installing a system-wide PEAR or a local copy?”.
Give your answer like “local” and press Enter.
It’ll ask confirmation. Just give “yes” and press Enter.
You can see 12 files with default location and it’ll ask location change?
If you wanna change, just give “all” and change that. Better, Set default one. For default location, press Enter.
Then you may get one WARNING. You have include the path of PEAR into php.ini . So, It’ll ask
“Would you like to alter php.ini
Goto Control Panel -> System and Security -> System -> Advanced system settings
You’ll get System Properties window. There, select Advanced Tab and click Environment Variables…
Here, you’ll get Environment Variables Window. Here, select PATH into ‘System Variables’ and click edit.
Now you’ll get Edit system Variable Window. Here, Add you PEAR folder path with Semicolon. Don’t for forget, only add the path, not replace.
For my path,
click ‘OK’ and Save it.
Close opened command prompt and open New CMD. Give “pear” command and press Enter. If PEAR running successfully, You’ll get PEAR’s list of commands. So you Installed PEAR.
Latest posts by KarSho (see all)
- WAMP shows error ‘VCRUNTIME140.dll’ is missing and won’t turn green - September 9, 2017
- How to Install Android Studio on Windows step by step - July 18, 2017