Page 1 of 1

Timeout in webpages

Posted: Fri Jun 10, 2005 11:37 am
by fernando2005
Hi everyone I wanted to know what can I do with this issue.

I made a webpage that makes a query from SQL Server, I have PHP installed in IIS 5.0. The webpage is is supposed to be used in my offices LAN. Our offices have 2 buildings. The thing is everytime I access my webpage from the computers in building 1 (office where the server resides) the webpage works fine but whenever I access it from building 2 the webpage (when makink the query) just does it for 30 seconds. (It's a really big query in a huge database, so it's expected that the query may take that long). After that it stops displaying info, which means that not all the info is displyaed.

What should I do? Should I check any parameters in php.ini? Hope you can help cause I'm lost.

Program Detail

Posted: Fri Jun 10, 2005 11:41 am
by fernando2005
I get

Fatal error: Maximum execution time of 30 seconds exceeded in

Posted: Fri Jun 10, 2005 11:42 am
by Ambush Commander
I think what's happening is the script is outputting the data when the timelimit is exceeded. Increase the max time limit or optimize your query.

Solved.....

Posted: Fri Jun 10, 2005 12:17 pm
by fernando2005
I changed max_execution_time from 30 to 330 and now it works fine.