Monday, June 13, 2005

Dirty way to Installing pear with windows XP (thanks r0kawa)

1st http://go-pear.org/ and save the txt as go-pear.txt at your ../www/php/

2n go to commadn prompt and go to php directory in this case c:/easyphp/php/

3rd type php go-pear.txt

4 You will get a prompt asking for sthing just enter and you will see another prompt about proxies just click enter again

5th just remain the prefix things and hit enter again

6th if u the first time type "Y" to install the default pear packages

7th Make sure you have internet connection ;) and enter all along and skip the configuring your php.ini by type n

now you are peared....



to view all installed pear packages in your pc


type : pear list (C:\EasyPHP\php> pear list)

to list all avalaible packages


type: pear list-all (C:\EasyPHP\php> pear list-all)


to install desired packages

type: pear install andthepackagename (C:\EasyPHP\php>pear install packagesnames)



to view avalaible pear command just type pear

No comments: