<?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>php hosting &#8211; DoctorHoster &#8211;  Blog</title>
	<atom:link href="https://doctorhoster.com/blog/tag/php-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>https://doctorhoster.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 06 Jun 2021 23:30:46 +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 Enable PHP Error Logs in cPanel?</title>
		<link>https://doctorhoster.com/blog/how-to-enable-php-error-logs-in-cpanel/</link>
					<comments>https://doctorhoster.com/blog/how-to-enable-php-error-logs-in-cpanel/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 06 Jun 2021 23:30:40 +0000</pubDate>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[doctor hoster]]></category>
		<category><![CDATA[php display error]]></category>
		<category><![CDATA[php hosting]]></category>
		<category><![CDATA[web hosting]]></category>
		<category><![CDATA[wordpresshosting]]></category>
		<guid isPermaLink="false">https://doctorhoster.com/blog/?p=1286</guid>

					<description><![CDATA[PHP error logs most useful tool for diagnosing Webhosting problems. It is usually hard to find the reason for sudden behavior in different PHP applications. PHP error logs can assist you to find issues and recognize the offending theme, plugin, or custom code. In this article, we explain what are PHP error logs, and why [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>PHP error logs most useful tool for diagnosing Webhosting problems. It is usually hard to find the reason for sudden behavior in different PHP applications. PHP error logs can assist you to find issues and recognize the offending theme, plugin, or custom code. In this article, we explain what are PHP error logs, and why they are helpful.</p>



<h2 class="wp-block-heading"><strong>What is a PHP Error Log?</strong></h2>



<p>A PHP error log lists the errors and warning messages, which are created by the language runtime, and saved to a file. Errors happen for lots of reasons. For example, a line of code might have a typo mistake in it, or the code might be fine, but something unforeseen occurs when it has been executed. Or, the programmer wants to let you know that so they develop code to log a report to a file. Error logs are a time-ordered list of these messages. Error logs are especially helpful for solving out why WordPress is not behaving as you think. If it is using unnecessary server resources, a plugin is crushed, or pages do not load, the logs can inform you of the reason. If you are in a “White Screen of Death” situation, where WordPress is not working at all, the logs might be the entire way to see what is going on.</p>



<h2 class="wp-block-heading"><strong>How To Log PHP Errors</strong>?</h2>



<p>To enable PHP Errors, you may following the below steps:</p>



<ul class="wp-block-list"><li>Login to your cPanel &#8211; <a href="https://doctorhoster.com/blog/where-i-can-login-to-cpanel-hosting-account/">Learn how to login to your cPanel Account</a></li><li>Go to &#8220;Software&#8221; section and click on &#8220;MultiPHP INI Editor&#8221;.</li></ul>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="313" src="https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-24-1024x313.png" alt="" class="wp-image-1287" srcset="https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-24-1024x313.png 1024w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-24-300x92.png 300w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-24-768x234.png 768w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-24-696x212.png 696w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-24-1068x326.png 1068w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-24.png 1186w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>On the next page, you will two tabs:<ul><li>Basic Mode</li><li>Editor Mode</li></ul></li><li>Stay in &#8220;Basic Mode&#8221; and from the drop-down select your domain.</li><li>Then, you will find below &#8220;display_errors&#8221;.</li><li>Click to &#8220;Enable&#8221;</li><li>Click on &#8220;Apply&#8221;</li></ul>



<figure class="wp-block-image size-large"><img decoding="async" width="877" height="773" src="https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-25.png" alt="" class="wp-image-1288" srcset="https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-25.png 877w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-25-300x264.png 300w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-25-768x677.png 768w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-25-696x613.png 696w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-25-477x420.png 477w" sizes="(max-width: 877px) 100vw, 877px" /></figure>



<p>Now, your &#8220;display-errors&#8221; Mode has enabled.</p>



<p>If go to &#8220;Editor Mode&#8221;, select the domain and in below box, you can see &#8220;display-errors&#8221; showing &#8220;ON&#8221;.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="367" src="https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-1024x367.png" alt="" class="wp-image-1289" srcset="https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-1024x367.png 1024w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-300x107.png 300w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-768x275.png 768w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-1536x550.png 1536w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-696x249.png 696w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-1068x382.png 1068w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26-1173x420.png 1173w, https://doctorhoster.com/blog/wp-content/uploads/2021/06/image-26.png 1642w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://doctorhoster.com/blog/how-to-enable-php-error-logs-in-cpanel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
