Page 1 of 1

pear.bat file question

Posted: Wed Jan 24, 2007 1:18 am
by fastmike
hi. i recently bought this oreilly edition book "Web database application with php and mysql". so i started reading the chapter on how to install php, apche and mysql in which i have been successful. the only thing which is giving me problem is when i try to download the package from pear. ok this is what i did.
the book ask me to edit the file go-pear.bat and change the php_bin to

Code: Select all

set PHP_BIN=php.exe
which i did. so i went to run the go-pear.bat file. i got 7 options. the first one was empty so i updated the path for the first one but 7th was empty also. so i typed

Code: Select all

c:\progra~1\easyph~1\php\
for the path to php.exe it updates the path then i installed all the packages and everything but later on i tried to run the go-pear.bat file again and still i see that option7 is empty. i have changed the path in my php.ini file also to this

Code: Select all

inlucde_path = ".;C:\program files\easyphy1-7\php\pear\pear"
when i try to install the pear packages by typing this command

Code: Select all

c:\progra~1\easyph~1\php\pear\pear.bat install HTML_Template_IT
it wont do anything because i dont have a pear.bat file all i have is a go-pear.bat it is not upgrading. Option7 is always empty even i tried to change the path. anyone please help. my final project is based on THe Online testing database using php, mysql. i have a background of OOP and this is my first time learning any webscripting language.

Posted: Wed Jan 24, 2007 1:35 am
by dude81

Posted: Wed Jan 24, 2007 1:49 am
by fastmike
thanks for the reply. may i ask what is this xampp because everyover there is in french. what privileges can i get after diwnloading it?

Posted: Wed Jan 24, 2007 4:13 am
by dude81
They are dutch :D . Its easy installing. Download xammp and simply follow the steps as said in the file readme-en.txt