Re: Win32 can't get PEAR to work

From: Date: Sat, 04 Sep 2004 23:58:04 +0000
Subject: Re: Win32 can't get PEAR to work
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195884@lists.php.net to get a copy of this message
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


« previous php.general (#195884) next »