Article 4XXPZ Where does the php error log get writ?

Where does the php error log get writ?

by
Pedroski
from LinuxQuestions.org on (#4XXPZ)
I am reading a book PHP & MySQL: Novice to Ninja by Kevin Yank, doing some simple stuff with php to begin with.

On my little homework web page, on GoDaddy, I keep my php files for each class in a subdirectory aptly named php.

php automatically writes an error log there, for each class, in the php directory.

Now, I have this laptop set up with apache2, php and mysql, so I can learn a bit more and try it out at home first.

Yesterday, for example, there was an error: $firstname was written $firstName, so no output.

Where does php write its error log now?

How can I set php to write an error log in /var/www/html/php/ ??

That will help when things get more complicated.latest?d=yIl2AUoC8zA latest?i=-EaEax8ceyw:KTYtcsHiO_A:F7zBnMy latest?i=-EaEax8ceyw:KTYtcsHiO_A:V_sGLiP latest?d=qj6IDK7rITs latest?i=-EaEax8ceyw:KTYtcsHiO_A:gIN9vFw-EaEax8ceyw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments