Ok first i will tell you the setup. I have one main directory that has many apps or websites in it. For examples: wwwroot -> apps -> and then a folder for each website. This keeps me from buying multiple servers. Anyways. I all are running php and i wanted to make a certain folder (Website) have its own log file assigned to it. Then if an error has occurred for those pages i can then email it to me. I want to record any error messages sent.
Right now all i have is this on my index for that site:
<?php
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', 'phplogfile.log');
?>
But when i on purpose try to setup an error like print $sql and forget the ; at the end. The phplogfile.log is still empty. I just want to me be able to have the defaulted errors listed in it.