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! Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.