I am developing a web service where I need to call an Oracle procedure in PHP. The Oracle procedure will take time to process and after completion it will write in a table.
How do I return an error in the web service response if the procedure call is taking too much time?
Note: I am stuck with PHP 5.2 and I cannot install cURL.