how to create error log file in php code example Example: php error log /usr/local/apache/logs/error_log