I am trying to writ to a file in /tmp but I can not. I'm guessing it's an Apache configuration issue, I've tried the same script on other non Fedora servers and it works fine.
$file = fopen( "/tmp/php.log", "a" );
$datetime = date( "M j, Y, G:i:s T" );
fputs( $file, "$datetime\n" );
fclose( $file );
I get no messages in the log. Any suggestions?