Page 1 of 1

build PHP from source code in Windows?

Posted: Mon Jun 02, 2003 8:29 am
by jiehuang001
I am trying to follow the instruction at http://www7b.software.ibm.com/dmdd/libr ... scott.html to install PHP with DB2. However, the platform used at this instruction is Linux while my computer is Windows.

This instruction tells to use the following command to change the configuration:
bash$ ./configure --with-apxs=/usr/sbin/apxs \
--with-ibm-db2=/home/db2inst1/sqllib --sysconfdir=/etc
I think I can just edit these entries in the configure file.

Then this instruction tells to use the make command to compile PHP:
bash$ make > make.out
How can I do this in Windows?

Please advise.

Thanks.

Jie Huang

Posted: Mon Jun 02, 2003 8:41 am
by twigletmac
If you really wanted to build PHP from source:
http://www.php.net/manual/en/install.wi ... dows.build

However, looks like DB2 can be accessed using PHP's odbc_xxx() functions - have you attempted a connection?

From the manual page linked to above:
The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions.
Mac