Installing PEAR on Win2k / PHP 4.0.4pl1
| From: | John Fitzpatrick | Date: | Mon, 23 Apr 2001 04:32:55 +0000 |
| Subject: | Installing PEAR on Win2k / PHP 4.0.4pl1 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-67@lists.php.net to get a copy of this message | ||
I am trying install PEAR on a development server that is running Win2k / IIS
and PHP 4.0.4pl.
As there is no automatic installation script for Windows, this needs to be
done manually.
1. I have renamed the "PEAR.php.in" to "PEAR.php", however I'm unsure as to
how the following constants should be defined within this file:
...
define('PHP_BINDIR', '@prefix@/bin');
define('PEAR_INSTALL_DIR', '@PEAR_INSTALLDIR@');
define('PEAR_EXTENSION_DIR', '@EXTENSION_DIR@');
...
My queries are as follows:
--> "PHP_BINDIR" obviously refers to where php.exe resides -- "C:\php" in my
case.
--> Should "PEAR_INSTALL_DIR" be defined as "C:\php\pear" or something else?
--> What should "PEAR_EXTENSION_DIR" be defined as?
2. Aside from also adding the pear directory to the INCLUDE_PATH in php.ini,
can anyone else suggest what else do I need to do to get up-and-running with
PEAR on Win2k?
Any assistance will be appreciated.
-jnf