Re: Installing PEAR on Win2k / PHP 4.0.4pl1
| From: | (Stig Sæther Bakken) | Date: | Mon, 23 Apr 2001 09:15:14 +0000 |
| Subject: | Re: Installing PEAR on Win2k / PHP 4.0.4pl1 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-68@lists.php.net to get a copy of this message | ||
["John Fitzpatrick" <ffm123@my-deja.com>]
> 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@');
> ...
These constants will be defined by PHP itself in future releases.
> 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?
PEAR_INSTALL_DIR is the directory where you have installed PEAR's PHP
files (the directory where PEAR.php is). PEAR_EXTENSION_DIR is the
directory where PHP's DLL files are.
> 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?
That should be it, but it would be interesting to see the result of
the test script on Windows (run-tests.php in the source distribution).
- Stig
--
Stig Sæther Bakken <ssb@fast.no>
Fast Search & Transfer ASA, Trondheim, Norway