redherring Posted January 28, 2008 Share Posted January 28, 2008 Hi there - I have a script that interacts with an sql database. Since upgrading from php 4.3.8 to 5.2.5 I've found that most of the time the script no longers returns data... it doesn't produce an error or anything, it just doesn't return any data. Then, "once in a while" - that's an official unit of measurement - it will return the correct data. It's almost as if, as per someone's post here - http://bugs.php.net/bug.php?id=29074 - "php is getting too fast and giving up before a response is received from SQL 2000?" Appreciate your thoughts on this. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/88221-php525-and-mssql_connect-php-too-fast/ Share on other sites More sharing options...
hitman6003 Posted January 28, 2008 Share Posted January 28, 2008 What library are you using to connect to MSSQL? Are you using freetds, or a native MSSQL driver? Also check the setting of mssql.timeout in your php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/88221-php525-and-mssql_connect-php-too-fast/#findComment-451476 Share on other sites More sharing options...
redherring Posted January 28, 2008 Author Share Posted January 28, 2008 Hi there. Native MSSQL driver, and the mssql.timeout is set to 60. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/88221-php525-and-mssql_connect-php-too-fast/#findComment-451504 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.