Hi friends,
I have a problem i made php scripts for some major mathematical and status calculation which takes around an hour to calculate the whole things finally.
I make this script on php4.0.0+mysql 3.23 and it is working fine.
On my old server the script is working fine.
Recently I have configured a new server with php5.0.2 and mysql 4.1.8 and deploy all previous script on new configured server.
But when I run the same script first the browser get timeout and display message “page cann’t be displayed” but since I use ignore_user_abor(1) in php scripts so php is running but without full up gradation of whole data (as per my previous server) scripts ends up.
Please help me to solve this.
I have an idea in my mind please correct me if I am wrong.
Since I used aprrox 6 files and lots of function for my calculation so it I display a small message on the completion of each function then than requite will get some response do display after some times and not hangs up.
As I think since I am displaying all information after the completion of whole process and during this process there is not echo or html display so this scripts hangs up without getting any response from the server.
I have checked the following also.
In httpd.conf ===
Timeout
Php.ini ----
max_execution_time =
max_input_time =
memory_limit =
and
in php script
set_time_limit(5000)
ignore_user_abort(1)
Regards
Dhirendra