[freetds] Directory /usr/local is not a FreeTDS installation directory

Petri Laihonen pietu at weblizards.net
Tue Sep 7 19:42:50 EDT 2004


Hi,

I'm having trouble with getting FreeTDS to work via PHP.
I've already tried to find answers from the mailing list archive with no
luck.

FreeTDS was installed from RPMS
(freetds-0.62.1-1 and freetds-devel-0.62.1-1)
My PHP version is 4.3.8, which I'm trying to compile MSSQL support into.

Instructions in www.php.net seem to be obsolete since current version does
not create "freetds" folder anywhere (--with-mssql=/usr/local/freetds)

If I configure PHP with an option
--with-mssql=/usr/local
I get the error mentioned in subject line.

When configured as
--with-mssql=shared
or
--with-mssql=shared,/usr
result no errors, but no support for MSSQL either

What is the current correct method of getting MSSQL support for PHP via
FreeTDS libraries?

Note! ./tsql command works from command line correctly

Thank you,
Petri




More information about the FreeTDS mailing list