I think I found the answer....
This came from pear mailing list archive...
B.
["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.
- 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.
- 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 Sæther Bakken <ssb@fast.no>
Fast Search & Transfer ASA, Trondheim, Norway
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, e-mail: pear-general-unsubscribe@lists.php.net
For additional commands, e-mail: pear-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
[prev in list] [next in list] [prev in thread] [next in thread]