[freetds] FreeTDS / Apache 2.2
admin at domeny.pl
Thu Nov 1 07:51:00 EDT 2007
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:
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
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...
More information about the FreeTDS