All you need is any executable folder ( cgi-bin ) and the path to your server's error a log file. If you do not know the path to your server's error log file, click here to learn how to easily redirect error messages to your browser. Even if the error is beyond your control (i.e. the error is in a module on your server such as the PFP module), you can at least print a message for your visitors.
Configuration
On line 21 of the script, you will find a variable named $LOG Enter the absolute path to your log file in this variable. If you do not know the absolute path, the script will print the Root path as returned by your server. If that is not the correct path, enter the path you see in your FTP client. It usually looks something like :
/home/username/error_log
Installation
UNIX servers, make sure the first line points to the path to Perl on your server. WINDOWS and UNIX servers, upload the script to your cgi-bin or any executable folder in ASCII mode. UNIX servers, CHMOD the script to 755.