Hello All,
I have my PHP scripts running on the WAMP server. Here's what i am doing
- PHP script A that queries the database and gets a set of rows (I have set the set_time_limit (0) // unlimited time for the script to execute )
- Based on the result set I execute a tcl script for each row of the result set
- The TCL script takes about a minute to execute , it also inserts some data to the same database
- Now simultaneously when the TCL script is executing , if i execute another PHP script that writes in to the database , I am not able to do it as the response time is too slow. It infact waits for the PHP script A/TCL script to complete
- However during this time, reads from the database is fine and quick
Does anyone has any suggestions ?
Regards, Mithun