php get error log location code example
Example 1: php error log
/usr/local/apache/logs/error_log
Example 2: output to log file and error to log error
./ShellFile.sh >& pathToLogFile.log
/usr/local/apache/logs/error_log
./ShellFile.sh >& pathToLogFile.log