Skip to Content.
Sympa Menu

freetds - [freetds] Configuring PHP with GD is breaking FreeTDS.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Sleepite" <freetds AT sleepistheenemy.co.uk>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Configuring PHP with GD is breaking FreeTDS.
  • Date: Wed, 3 Aug 2005 14:51:36 +0100

I've installed FreeTDS and linked it up to PHP fine, it's excellent software
and runs perfectly! But now I'm also trying to install the GD graphics
library into PHP and it's breaking My FreeTDS connection.

If I configure PHP with:

./configure --with-mysql --with-apxs2=/www/bin/apxs --with-sybase-ct=/usr/lo
cal/freetds --enable-track-vars --with-xml --with-zlib-dir=/rpms/zlib-1.2.3
--with-png --with-jpeg-dir=/rpms/jpeg-6b --with-freetype-dir=/rpms/freetype-
2.1.10 --with-gd=/usr/local --enable-gd-native-ttf

GD works perfectly with freetype support and everything but I get:

Warning: sybase_connect() [function.sybase-connect]: Sybase: Unable to
connect in...

However if I simply remove GD Sybase works perfectly but of course I get no
image functions:

./configure --with-mysql --with-apxs2=/www/bin/apxs --with-sybase-ct=/usr/lo
cal/freetds --enable-track-vars --with-xml --with-zlib-dir=/rpms/zlib-1.2.3
--with-png --with-jpeg-dir=/rpms/jpeg-6b --with-freetype-dir=/rpms/freetype-
2.1.10 --enable-gd-native-ttf

I need to use both Sybase/FreeTDS and GD on this project but can find no way
to have both. Can anyone help?
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.8/61 - Release Date: 01/08/2005





Archive powered by MHonArc 2.6.24.

Top of Page