pear.bat file question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fastmike
Forum Commoner
Posts: 32
Joined: Wed Jan 24, 2007 12:52 am

pear.bat file question

Post 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.
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Post by dude81 »

fastmike
Forum Commoner
Posts: 32
Joined: Wed Jan 24, 2007 12:52 am

Post 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?
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Post by dude81 »

They are dutch :D . Its easy installing. Download xammp and simply follow the steps as said in the file readme-en.txt
Post Reply