RE: [PEAR] question to installation of Pear under Windows 98
| From: | Merritt, Dave | Date: | Sat, 22 Mar 2003 19:06:46 +0000 |
| Subject: | RE: [PEAR] question to installation of Pear under Windows 98 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4376@lists.php.net to get a copy of this message | ||
I just got through installing PEAR a few days ago on Win2000 and had the
exact same problems your seeing. The problem I found is that you cannot
create the directory for your PEAR files directly under your PHP directory
if you are going to use the name of PEAR for the directory i.e. this will
not work for your PEAR_PATH:
C:\Programme\Apache\htdocs\php4\pear
This is because the PEAR installer creates a pear executable file called
'pear' within your PHP installation under C:\Programme\Apache\htdocs\php4
which is what the pear.bat file calls and runs. You cannot have a file & a
directory exist in the same location with the same name. Either choose
another name for your PEAR directory or locate it elsewhere on your system.
I ended up putting PEAR under the root as C:\pear. Once I did this and
reinstalled PEAR, modified the pear.bat to point to the correct locations,
everything worked fine.
Dave
dave.merritt@arvinmeritor.com
-----Original Message-----
From: Pfeiffer-Koberstein Immobilien GbR - Ralf Pfeiffer
[mailto:ralf.pfeiffer@hohenloher-immobilien.de]
Sent: Saturday, March 22, 2003 8:37 AM
To: pear-general@lists.php.net
Subject: [PEAR] question to installation of Pear under Windows 98
Hello,
I want do install Pear under Win98 and Apache Server
- I downloaded the pear installer in the
C:\Programme\Apache\htdocs\php4\pear - directory.
- I adapted the include - path in the php.ini to: include_path
=".;c:\Programme\Apache\htdocs\php4\pear"
Now I read, that I still have to adapt the paths in the pear.bat - file
(this pear.bat - file is in the pear-directory).
I made:
set PHP_BIN=C:\Programme\Apache\htdocs\php4\php.exe
set PEAR_PATH=C:\Programme\Apache\htdocs\php4\pear
but this doesn't work,
do anybody knows what's going wrong?
thanks,