rubing Posted October 27, 2008 Share Posted October 27, 2008 I have a php web application that sometimes gets hung up. This is problematic b/c when it hangs there are no errors presented. How do I figure out what went wrong in this case??? Thanks! Link to comment https://forums.phpfreaks.com/topic/130352-debugging-hung-application/ Share on other sites More sharing options...
DarkWater Posted October 27, 2008 Share Posted October 27, 2008 You'd need to show it to us. Link to comment https://forums.phpfreaks.com/topic/130352-debugging-hung-application/#findComment-676099 Share on other sites More sharing options...
PFMaBiSmAd Posted October 27, 2008 Share Posted October 27, 2008 Set error_reporting to E_ALL and remove any @ in your code so that all php detected errors are logged to the web server error log file. Set display_errors to OFF on a live server or to ON if this is a development/test server. Link to comment https://forums.phpfreaks.com/topic/130352-debugging-hung-application/#findComment-676165 Share on other sites More sharing options...
rubing Posted October 28, 2008 Author Share Posted October 28, 2008 well i figured out that it was a curl process. in this app curl downloads a remote file through a proxy. the proxy must've been going really slowly. i fixed it, by setting the curl option CURLOPT_TIMEOUT 200 Link to comment https://forums.phpfreaks.com/topic/130352-debugging-hung-application/#findComment-676211 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.