Hello, found the function
error_log("Error message\n", 3, "/path/php.log"); where $1 is the message string, $2 is the type of message delivery (to the file) and $3 is the path
And how to specify the path of the current directory by the path and it is desirable to verify all the rules of php.ini and .htaccess so that, despite the rules of the host, the log file is in the same folder as the script file. I'm going to paste the code into each script of interest. And to see the problems at the registration address.
error_log("Error message\n", 3, "./"); - this will be enough or need something like:
--force cows_superpower !important ?
For me, PHP is an unexplored area, I’m missing console.log heroku logs --tail for nodejs. Please do not be surprised much question.
I get an error
> Warning: error_log(./): failed to open stream: Is a directory in > /home/user***/public_html/index.php on line 20