[freetds] FreeTDS / Apache 2.2
Marcin Krol
admin at domeny.pl
Thu Nov 1 06:51:00 EST 2007
Hello everyone,
I have problems getting freetds to work with apache 2.2.6 - everything works great in apache 1.3 and any version of php, using just about any freetds compile settings, e.g. those:
./configure --with-tdsver=4.2 --prefix=/usr/local/freetds --enable-msdblib --enable-dbmfix
Subsequently, freetds is configured for php compilation with this setting:
--with-mssql=/usr/local/freetds
Above procedure works without problems for both php 4 and latest release of php 5, as long as php is compiled for use in apache 1.3.
However, as soon as I compile it into apache 2.2 I get this:
Warning: mssql_connect() [function.mssql-connect]: SQL Server connection timed out. (severity 9) in
or this:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server:
Testing connection using tsql etc works without problems, of course.
Does anybody know what's wrong or encountered this problem before?
I really need to get this working...
--
Marcin Krol
More information about the FreeTDS
mailing list