Skip to Content.
Sympa Menu

freetds - Maximum Execution time exceeded :( FreeBSD 3.4+Apache1.3.9+PHP3.0.16

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Strange Alex" <strange AT unicon.ru>
  • To: freetds
  • Subject: Maximum Execution time exceeded :( FreeBSD 3.4+Apache1.3.9+PHP3.0.16
  • Date: Fri, 19 May 2000 13:46:7


Dont you be so pleased to help my to solve my problem:
I cant connect to my MSSQL server via FreeTDS :(

There is an 2 types of errors:
error.log:
[Fri May 19 22:51:33 2000] [error] PHP 3 Warning: Sybase: Unable to
connect in /path/index.phtml
[Fri May 19 22:54:47 2000] [error] PHP 3 Fatal error: Maximum execution
time exceeded in /path/index.phtml

I am using FreeTDS 0.50 from latest ports
configure
--with-prefix=/usr/local
--with-tdserver=7.0
--enable-dbmfix

PHP3 compiled manually
configure ... --with-sybase-ct=/usr/local --with-axps=...

/usr/local/etc/freetds/interfaces:
mssql
query tcp rl0 192.168.32.2 1433
master tcp rl0 192.168.32.2 1433

Apache starts fine, but when i load /path/index.phtml
<?php
$link = sybase_connect("mssql","user","password");
if ($link) print "Ok ! link=$link";
else print "conect failed"
?>

"connect failed" error happend..
I plays with interfaces file and receive
"timeout from server"

DBD::FreeTDS works fine ! But I want PHP access...

Please HELP...



  • Maximum Execution time exceeded :( FreeBSD 3.4+Apache1.3.9+PHP3.0.16, Strange Alex, 05/19/2000

Archive powered by MHonArc 2.6.24.

Top of Page