<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cat brain.log &#124; less &#187; html_errors</title>
	<atom:link href="http://log.largevoid.com/tag/html_errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://log.largevoid.com</link>
	<description>Getting it down on `paper`</description>
	<lastBuildDate>Mon, 06 Feb 2012 06:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP 5.3.1 Error Logging and Display of Said Errors</title>
		<link>http://log.largevoid.com/2010/02/php-5-3-1-error-logging-and-display-of-said-errors/</link>
		<comments>http://log.largevoid.com/2010/02/php-5-3-1-error-logging-and-display-of-said-errors/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 02:36:19 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[display_errors]]></category>
		<category><![CDATA[error_log]]></category>
		<category><![CDATA[html_errors]]></category>
		<category><![CDATA[log_errors]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=294</guid>
		<description><![CDATA[I just installed the PHP 5.3.1 Windows installer bundle [VC9 x86 Non Thread Safe (2009-Nov-19 09:53:39)] on my Windows 7 [Ultimate] machine. I want the PHP error output to get sent to stderr when run from the command line. I don&#8217;t want the errors logged to a file because I&#8217;m developing cli tools. Since we&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed the <a href="http://windows.php.net/downloads/releases/php-5.3.1-nts-Win32-VC9-x86.msi">PHP 5.3.1 Windows installer bundle [VC9 x86 Non Thread Safe (2009-Nov-19 09:53:39)]</a> on my Windows 7 [Ultimate] machine.  I want the PHP error output to get sent to stderr when run from the command line.  I don&#8217;t want the errors logged to a file because I&#8217;m developing cli tools.  Since we&#8217;re dealing with the cli, I also don&#8217;t want html errors.  Should be pretty easy&#8230; if you know how to edit the settings.</p>
<p>These worked for me:</p>
<pre>error_reporting = E_ALL
display_errors = stderr
display_startup_errors = On
log_errors = Off
html_errors = Off
;error_log = php-errors.log
</pre>
<p>Ensure that <strong>error_log is not set</strong>, otherwise error will not be displayed.  This problem <em>may</em> be related, but is obviously not, the <a href="http://bugs.php.net/bug.php?id=50839">date bug</a> mentioned in the PHP bug reports.  It may be fixed in the latest snapshot.  As a note, the php.ini date.timezone setting is <code>date.timezone = "Pacific/Honolulu"</code>, and I still had this problem.</p>
<p>Other things I noticed:<br />
When error_log = syslog, you can find the PHP events in the windows Event Viewer -> Windows Logs -> Application.  I mention it in case you want that type of thing&#8230; or think error that logging may not be working.</p>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2010/02/php-5-3-1-error-logging-and-display-of-said-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  log.largevoid.com/tag/html_errors/feed/ ) in 0.20701 seconds, on Feb 8th, 2012 at 12:45 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 1:45 pm UTC -->
