Posted by ljb on 11/15/92 11:22
news@sleepistheenemy.co.uk wrote:
> 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?
I can't help directly with your problem but I can say I do use Sybase_CT
(with FreeTDS) and GD together in PHP. I have some scripts which connect to
an ASA database, collect data, and draw a graph with PHPlot (which uses
GD). It works fine for me and I didn't do anything special to get it to
work. But I'm using Apache 1.3.x and you are apparently using Apache 2.x.
Maybe that is significant, or maybe it is something else.
Navigation:
[Reply to this message]
|