开发者

kill php process on host

I'm running while(TRUE) php script on my host,that I think it will be ended by closing browser, I run it on my Cpanel web hosting to learning DoS attack. Now I close browser but it contin开发者_StackOverflow社区uing attack.

How can I kill it in Cpanel ,only with Cpanel permission?


If you are just have a host or you are just a reseller, you can't. You need to root permission to do this.

If you did run the script on browser, PHP or Apache should kill the process after the maximum execution time.

Default maximum execution time is 30 seconds for PHP and -I guess- 150 secons for Apache.


You should be able to restart apache from CPanel, I think it's the only way:

http://forums.cpanel.net/f5/restarting-apache-60364.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜