freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Configuring PHP with GD is breaking FreeTDS.
- From: "Sleepite" <freetds AT sleepistheenemy.co.uk>
- To: <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Configuring PHP with GD is breaking FreeTDS.
- Date: Wed, 3 Aug 2005 16:42:15 +0100
Is this some kind of a Linux system? Which PHP and FreeTDS versions?
Here are some things to try:
1. Try compiling the extensions as shared.
eg. change
> -with-sybase-ct=/usr/local/freetds
to --with-sybase-ct=shared,/usr/local/freetds
> --with-gd=/usr/local
to --with-gd=shared,/usr/local
Don't forget to load the dynamically shared extensions somewhere then.
One way is adding lines such as
extension=gd.so
extension=sybase_ct.so
to your php.ini file.
-------------
Hey, thanks a million that seems to have solved it! I never guessed that
would of worked but I see now why it does, it removes the chance of GD
interfering with the sybase-ct code by not compiling it into the same
module... is that right?
To start with it didn't work but that's because php was compiling it's .so
files into /usr/local/lib/php/extensions/no-debug-non-zts-20041030/ simply
changing the extension_dir directive in php.ini sorted that out.
I'm using Fedora Core 3, httpd-2.0.54, php-5.0.4 and
freetds-0.64.dev.20050628
Whether I compile --with-gd=shared or --with-gd=shared,/usr/local seems to
make no difference using gd-2.0.33.
verbosity for posterity
Thanks again! ^___^
--
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
-
[freetds] Configuring PHP with GD is breaking FreeTDS.,
Sleepite, 08/03/2005
- Re: [freetds] Configuring PHP with GD is breaking FreeTDS., Daniel Fazekas, 08/03/2005
- <Possible follow-up(s)>
- Re: [freetds] Configuring PHP with GD is breaking FreeTDS., Sleepite, 08/03/2005
Archive powered by MHonArc 2.6.24.