Linux(PHP) + MSSQL 7 (NT)

bogowonto bogowonto at yahoo.com
Wed Apr 19 02:53:00 EDT 2000


hi, michael

I was try your step, but still doesn't work

I am using SuSE 6.2 with Apache 1.3.12, PHP-3.0.14 and
MS-SQL 7.0 with SP4




--- Michael Suedkamp <ms at suedkm.franken.de> wrote:
> Here is the README I created from my experiences. It
> is derived from the 
> instructions supplied with Apache and PHP3.
> 
> Hope it helps
> 
> 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)
> 
> ---
> You are currently subscribed to freetds as:
> bogowonto at yahoo.com
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
> 
> 

=====
=======================================================
"How wonderful it is that nobody need waiting 
a single moment before starting to improve the world"

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com



More information about the FreeTDS mailing list