 
    
<?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>turn off Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/turn-off/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/turn-off/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Fri, 08 Apr 2011 19:46:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>How to Turn Off &#039;display_errors&#039; in XAMPP</title>
		<link>https://complete-concrete-concise.com/joomla/how-to-turn-off-display_errors-in-xampp/</link>
					<comments>https://complete-concrete-concise.com/joomla/how-to-turn-off-display_errors-in-xampp/#comments</comments>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Fri, 08 Apr 2011 19:46:12 +0000</pubDate>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Web Tools]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[display errors]]></category>
		<category><![CDATA[display_errors]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[turn off]]></category>
		<category><![CDATA[XAMPP]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/uncategorized/how-to-turn-off-display_errors-in-xampp</guid>

					<description><![CDATA[<p>If you are here because: (1) when you try to run Joomla 1.5.x, 1.6.x, or 1.7.x under XAMPP 1.7.4 or 1.7.7 you get lots of errors like Strict Standards: Accessing static property JCache &#8230; or (2) you are running a popular PHP application and gettings errors when installing or running it out-of-the-box then see this [&#8230;]</p>
<p>The post <a href="https://complete-concrete-concise.com/joomla/how-to-turn-off-display_errors-in-xampp/">How to Turn Off &#039;display_errors&#039; in XAMPP</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<div class="c4">
<p>If you are here because:</p>
<p>(1) when you try to run Joomla 1.5.x, 1.6.x, or 1.7.x under XAMPP 1.7.4 or 1.7.7 you get lots of errors like <u>Strict Standards: Accessing static property JCache &#8230;</u> or</p>
<p>(2) you are running a popular PHP application and gettings errors when installing or running it out-of-the-box</p>
<p>then see <a href="//complete-concrete-concise.com/web-tools/xampp-fixing-strict-standards-errors">this page</a> instead.</p>
</div>
<p><span class="i1">NOT RECOMMENDED:</span> One of the reasons for installing XAMPP&nbsp;is to be&nbsp;able to detect errors in your site and code. Disabling error reporting makes this a lot harder.<br />
These instructions are for XAMPP&nbsp;version 1.7.3, but it should work for other versions as well.
</div>
<div class="c4">
<p><strong>If you are getting <u>errors</u>, the CORRECT thing to do is to FIX those errors, not <u>hide</u> them by turning off &#8216;display_errors&#8217;. Those errors are still there whether the setting&nbsp;is on or off.</p>
<p></strong></p>
<p>Think of it this way, smoke detectors detect smoke from fires. If you have a fire in the house and the smoke detector goes off, pulling out the battery to silence the smoke&nbsp;detector does not fix the problem with the fire.</p>
</div>
<p>One of the default settings when XAMPP is installed&nbsp;is to display PHP errors when they occur. This is useful for debugging, but downright dangerous for a production environment.<br />
Usually, you won&#8217;t notice this setting &#8211; unless you happen to be&nbsp;installing Joomla! under XAMPP, then it will warn you that the <strong>Display Errors</strong> setting is set&nbsp;to <strong>On </strong>when the recommended setting is <strong>Off</strong>. (Click for larger image)<br />
<a href="//complete-concrete-concise.com/wp-content/uploads/2011/04/xampp-turn-off-display_errors-joomla-check-big.png" target="_blank"><img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2011/04/xampp-turn-off-display_errors-joomla-check-thumb.png" alt="" border="0" />\</a><br />
This isn&#8217;t a problem. However, if you want to turn off the warning then do the following:<br />
<strong>(1) Go </strong>to the <em>php</em> directory under XAMPP. Normally, this would be <span class="i1">C:\XAMPP\php</span>, but you may have installed it to a different drive or directory (mine is installed on my D: drive). <strong>Locate the file named <span style="text-decoration: underline;"><em>php.ini</em></span> </strong>. <strong>Open</strong> this file using a plain text editor &#8211; like notepad. Using a word processor (like Word) will very likely seriously corrupt the file. (I use an application called <a href="http://notepad-plus-plus.org/" target="_top">Notepad++</a>). <strong>Note: The icon associated with <span style="text-decoration: underline;"><em>php.ini</em></span> will depend on what application is associated&nbsp;with <span style="text-decoration: underline;"><em>.ini</em></span> files.</strong><br />
<img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2011/04/xampp-turn-off-display_errors-1.png" alt="" border="0" /><br />
<strong>(2a) Find</strong> the line <span class="i1"><code>display_errors = On</code></span>. In the XAMPP 1.7.3 install, this is line 531.<br />
<img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2011/04/xampp-turn-off-display_errors-2.png" alt="" border="0" /><br />
<strong>(2b) Change</strong> the <strong><span style="text-decoration: underline;">On</span></strong> to <strong><span style="text-decoration: underline;">Off</span></strong>.<br />
<strong>(2c) Save</strong> the file.<br />
<strong>(3) Restart</strong> the Apache server. The easiest way is to open the XAMPP&nbsp;control panel and <strong>click</strong> on the <strong><span style="text-decoration: underline;">Stop</span></strong> button. Then <strong>click</strong> on <strong><span style="text-decoration: underline;">Start</span></strong> to restart it. (You could also <strong>reboot</strong> the computer, but that is not necessary.)<br />
<img decoding="async" class="centered" src="//complete-concrete-concise.com/wp-content/uploads/2011/04/xampp-turn-off-display_errors-3.png" alt="" border="0" /></p>
<div class="c1">
<span class="i1">NOT RECOMMENDED:</span> The reason for installing XAMPP is to allow you to test and develop on your local machine. Getting feedback on any errors is important.
</div>

<p>The post <a href="https://complete-concrete-concise.com/joomla/how-to-turn-off-display_errors-in-xampp/">How to Turn Off &#039;display_errors&#039; in XAMPP</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://complete-concrete-concise.com/joomla/how-to-turn-off-display_errors-in-xampp/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
			</item>
	</channel>
</rss>
