Getting an email every time an error happen in your php script.

Hi,

I wrote my own script. Once in a while, under a certain condition, my script run for more than 30 seconds.

On that moment, the whole server go down.

I know about the problem only after checking the error_log

Since I'll be moving to reseller hosting I wonder if there is a way to get email every time there is such error.

That way I can fix this.

Notice that this is a bug that very rarely happen.

 

 

 

 

Top