Tag Archives: PHP
Log mails sent by PHP mail() function
PHP 5.3 introduced a new feature many administrators have waited for. Now it’s possible to log mails sent by the mail() function of PHP. Until 5.3 it was not that easy to find anĀ insecureĀ form/script which sends out spam messages. But now, finally, after around two years after the patch was submitted, you can add this to your php.ini: The first … Continue reading
Find out the website causing high load on a Apache webserver
If you’re running an Apache webserver with many customer websites, there will be a time (sooner or later) where your server is flooded with a lot of page requests, causing a high CPU-load and memory usage. Specially if PHP or other scripting is used behind. Most of the time this is caused by a harmful script somewhere in the net. … Continue reading