Skip to Content.
Sympa Menu

freetds - Installing freetds in linux - Help

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Chris Waidele" <chris AT creditguard.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Installing freetds in linux - Help
  • Date: Thu, 6 Dec 2001 21:56:46 -0500


I'm totally stumped.

Can someone see something wrong with what I've done?

Everything seems to configure correctly. Apache and Php start but
when I include an mssql statement in my code it sends nothing to
the browser even though there are comments being echoed which work.
Netscape returns "The document contained no data" error.

We are using:
red hat linux 7.1
sqlserver 7
freetds-0.52
apache 1.3.22
php 4.0.6

This is what I've done so far:

export SYBASE=/usr/local/freetds
export TDSVER=42

cd /usr/local/src/freetds-0.52
./configure --prefix=/usr/local/freetds --with-tdsver=4.2 --enable-dbmfix
make
make install
cd /etc
usr/local/freetds/lib >>ld.so.conf
/sbin/ldconfig

preconfigure apache for php
cd /usr/local/src/apache_1.3.22
./configure --prefix=/www

On to php
cd /usr/local/src/php-4.0.6
./configure --with-apache=/usr/local/src/apache_1.3.22
--enable-track-vars --with-mssql=/usr/local/freetds
--with-sybase=/usr/local/freetds
change dbopen in config.m4 to tdsdbopen
make
make install

Now apache

cd /usr/local/src/apache_1.3.22
./configure --activate-module=src/modules/php4/libphp4.a
make
make install

tweaking php

cd /usr/local/src/php-4.0.6
cp php.ini-dist /usr/local/lib/php.ini
change sysbase int php.ini to freetds

uncomment AddType application/x-httpd-php .php in apache


Thanks in advance

Chris Waidele




Archive powered by MHonArc 2.6.24.

Top of Page