[PHP] Win32 can't get PEAR to work
Using win32, Win2k. PHP 4.3.6 Tried installing PEAR. But "pear" is an unknown command after the install in my DOS box. There's no "pear.bat" file anywhere. There's an "pear.bat_old" file but no "pear.bat". Thought I installed PEAR according to the instructions by running "go-pear.bat", it was included w/php afaik. IMO PEAR should be innstalled automatically when PHP installs, but they don't do that for some reason. It should be bundled with PHP and installed by default IMO. Anyway, can anyone help me get PEAR working? I don't know where to start looking for the problem. Thanks please email me cc if possible. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Win32 can't get PEAR to work
Paul Waring wrote: Tried installing PEAR. But "pear" is an unknown command after the install in my DOS box. There's no "pear.bat" file anywhere. There's an "pear.bat_old" file but no "pear.bat". Last time I installed PHP on Win32, I didn't have to run any commands to install PEAR. You just need to alter your include_path directive in php.ini (it's fairly well documented in the comments in the file) to point to the folder with PEAR.php in (e.g. C:\php\pear) and you'll be able to do: 1. I got two (2) php.ini files one in winnt and one in my apache folder which do I modify? 2. Could you tell me specifically the line that needs to be modfied? It's not obvious to me what line has to be modified and exactly what the modification should be. 3. I'll definitely back-up the ini file before trying this btw, I just have know specifically what to do. Thanks require 'PEAR.php'; without any problems. If you want to install any other modules (provided they don't require any kind of Linux/Unix support) just extract the zip files into the PEAR directory and they'll be picked up. Most of PEAR (that I've used anyway) is just PHP files that you include anyway. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re:Success finally [PHP] Win32 can't get PEAR to work
Tried installing PEAR. But "pear" is an unknown command after the install in my DOS box. There's no "pear.bat" file anywhere. There's an "pear.bat_old" file but no "pear.bat". Thank you to posters, go PEAR working after much whining. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php