- Then find the php version you are using in wamp server.
- First find the place where you install wamp server.
- Then open command prompt. Change directory to the php version you are using in wamp server.
cd C:\wamp64\bin\php\php7.2.18
- Then download pear
curl -OL http://pear.php.net/go-pear.phar
- Then run
php go-pear.phar
In my installation, CLI php.exe path was missing.Therefore it gave me an error. Therefore I used below commands to add php.exe path
Steps :
I had to enter 13th parameter.
Therefore I inserted 13
Then it prompted to windows folder path finder.
Then select C:\wamp64\bin\php\php7.2.18 as php.exe path
Then Enter.
Then you can see that php.exe path has been added to 13th line.
Thats all
Post a Comment
Post a Comment