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

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


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

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
I get the error mentioned in subject line.

When configured as
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,

More information about the FreeTDS mailing list