I'm trying to execute a long query with mssql_query(), but it fails after 30 seconds.
I've tried to use ini_set in my script :
ini_set("mssql. timeout", "120");
Both just before the query and before the connection is initiated.
I've tried to add this to php.ini :
mssql.timeout = 120
But nothing seems to work, mssql_query() in the script still fails after precisely 30 seconds.
Please advise.
--
Best regards
Lars V. Nielsen
Denmark
I've tried to use ini_set in my script :
ini_set("mssql. timeout", "120");
Both just before the query and before the connection is initiated.
I've tried to add this to php.ini :
mssql.timeout = 120
But nothing seems to work, mssql_query() in the script still fails after precisely 30 seconds.
Please advise.
--
Best regards
Lars V. Nielsen
Denmark
Comment