Skip to Content.
Sympa Menu

freetds - Re: need installation/configuration documentation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Michael Suedkamp" <ms AT suedkm.franken.de>
  • To: freetds
  • Subject: Re: need installation/configuration documentation
  • Date: Tue, 21 Mar 2000 11:11:6


The instructions below worked for me!

Michael

-----------------------------------
1. Build FreeTDS
$ ./configure --prefix=/path/to/freetds --with-tdsver=4.2
$ make

(adapt PWD file)

$ make install
$ export SYBASE=/path/to/freetds
$ export LD_LIBRARY_PATH=/path/to/freetds/lib
$ make test

2. Build PHP3 with FreeTDS
$ cd apache_1.3.X
$ ./configure --prefix=/path/to/apache
$ cd ../php-3.0
$ ./configure --with-shared-apache=../apache_1.3.X
--with-sybase-ct=/path/to/freetds [--with-mysql=/path/to/mysql ...]
$ make
$ make install

(libphp3.module is beeing copied to ../apache_1.3.x/src/modules/php3.
Edit the lib entries by removing all Sybase/FreeTDS related except lct)



3. Build Apache with dynamic PHP support

$ cd ../apache_1.3.X
$ ./configure --prefix=/path/to/apache \
--activate-module=src/modules/php3/libphp3.a \
--enable-shared=php3
$ make
$ make install

(activate AddType ...php3 in httpd.conf)
(add/modify environment vars: set SYBASE to /path/to/freetds and expand
LD_LIBRARY_PATH by /path/to/freetds/lib in start script apachectl or
whichever you use)




Archive powered by MHonArc 2.6.24.

Top of Page