note 8120 deleted from ref.mssql by jimw
| From: | jimw@php.net | Date: | Sat, 15 Dec 2001 22:24:17 +0000 |
| Subject: | note 8120 deleted from ref.mssql by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22881@lists.php.net to get a copy of this message | ||
Do you have problems connecting PHP4.0.1pl2 (Apache 1.3.12, FreeBSD 3.2) to MSSQL 7.0 (Win NT) ?
Here's the quide how I did it...
1.) get FreeTDS 0.50
2.) ungzip and untar
3.) ./configure --prefix=/usr/local/freetds --with-tdsver=4.2 --enable-dbmfix
4.) gmake
5.) gmake install
6.) ldconfig -m /usr/local/freetds/lib (repeat this step after each reboot or update appropriate
startup file)
7.) get apache 1.3.12
8.) ungzip and untar
9.) ./configure --prefix=/usr/local/apache --enable-module=so
10.) make
11.) make install
12.) get PHP 4.0.1pl2
13.) ungzip and untar
14.) ./configure --with-sybase=/usr/local/freetds --with-apxs=/usr/local/apache/bin/apxs
15.) cd ext/sybase
16.) joe sybase.c
17.) replase all occurances of 'dbopen' with 'tdsdbopen'
18.) make
19.) make install
Well, now you should be able to use mssql_*() functions ....