Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:PHP error logs: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 5: Line 5:
It might be worth mentioning the PHP ships with all error reporting off, and that the philosophy behind PHP is that in production you simply don't report errors that occur.  This strikes me as really strange (if you are running in production it seems like you would want any and all error very precisely reported .. but I am new to PHP programming.)
It might be worth mentioning the PHP ships with all error reporting off, and that the philosophy behind PHP is that in production you simply don't report errors that occur.  This strikes me as really strange (if you are running in production it seems like you would want any and all error very precisely reported .. but I am new to PHP programming.)


Apparently, using IIS and FastCGI, PHP fails to report errors to the logs, even when the settings mentioned on this page are made.  Additional information at [http://forums.iis.net/p/1159662/1912015.aspx#1913338].  Is this information too detailed for this page?
Apparently, using IIS and FastCGI, PHP fails to report errors to the logs, even when the settings mentioned on this page are made.  Additional information at [http://forums.iis.net/p/1159662/1912015.aspx#1913338 forums.iis.net/p/1159662/1912015.aspx#1913338].  Is this information too detailed for this page?

Revision as of 16:13, 6 August 2011

First bullet point says to add a line to config.php and then "then reload the web page". What web page? It does not talk about a web page before this point? (Maybe I am being really stupid here, but this is not clear.)

Apparently you can attempt to access *any* web page generated by php, is that right?

It might be worth mentioning the PHP ships with all error reporting off, and that the philosophy behind PHP is that in production you simply don't report errors that occur. This strikes me as really strange (if you are running in production it seems like you would want any and all error very precisely reported .. but I am new to PHP programming.)

Apparently, using IIS and FastCGI, PHP fails to report errors to the logs, even when the settings mentioned on this page are made. Additional information at forums.iis.net/p/1159662/1912015.aspx#1913338. Is this information too detailed for this page?