Hi gurus! I have a hosting server and last month have noticed a weird thing with php and apache. Some of my users creates buggy php pages, which generates in cicle errors , hundreds of MB, which then PHP tries to send to the user!!!! Sure my server dies quickly because those error pages are kept in memory..
I believe you can get down any server you want if for example you run in cicle a
PHP Code:
$handle=fopen(a non-existent url or something not available)
while(!$feof($handle))
{
//do something
}
king of that page will run for 30 seconds, this is by default the time a cicle can run, will generate Gigs of errors, which PHP will try to send to the user..I can solve this problem just by dissabling from php.ini display_errors=No..Any other solution??? because i stil want my users to be able to read their errors...
thanks