php处理脚本执行超时
摘要:今天有人问题,如果动态处理脚本执行超时,貌似第一想到的是修改php.ini 的max_execution_time但是如果要动态的处理每个脚本,或者每一类脚本的执行时间,php有一个动态修改执行时间的函数 voidset_time_limit(int$seconds)Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, themax_e
阅读全文
posted @
2012-10-18 19:05
charles小白
阅读(498)
推荐(0)
HTTP proxy problem – Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8080
摘要:用apache做代理时会有权限问题,在log里可以看到没有权限的错误找到一个解决办法如下:http://www.techiegyan.com/2008/08/31/http-proxy-problem-permission-denied-proxy-http-attempt-to-connect-to-1270018080/Problem: Few days back we were working with Apache web server and were using it for proxy. We want to use HTTPD for directing requests to
阅读全文
posted @
2012-10-12 19:10
charles小白
阅读(1426)
推荐(0)