<?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>Life by Bits &#38; Numbers &#187; CentOS</title>
	<atom:link href="http://www.inteism.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.inteism.com</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 17:45:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Some web server administration tips on CentOS and cPanel (but not only)</title>
		<link>http://www.inteism.com/2010/01/some-web-server-administration-tips-on-centos-and-cpanel-but-not-only/</link>
		<comments>http://www.inteism.com/2010/01/some-web-server-administration-tips-on-centos-and-cpanel-but-not-only/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 23:28:31 +0000</pubDate>
		<dc:creator>Inteist</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.inteism.com/?p=116</guid>
		<description><![CDATA[This is more of a personal notes for myself but I am sure others will find it useful. Apache: /usr/local/apache/logs/error_log All exceptions caught by httpd, along with standard error output form CGI applications are logged here.  The first place you should look when httpd crashes, or you incur errors when accessing a website. /usr/local/apache/logs/suexec_log Contains [...]


Related posts:<ol><li><a href='http://www.inteism.com/2010/05/how-to-use-apache-2-0-in-commercial-products-explained-in-simple-terms/' rel='bookmark' title='Permanent Link: How to use Apache 2.0 license in commercial products, explained in simple terms'>How to use Apache 2.0 license in commercial products, explained in simple terms</a> <small>If you were wondering whether you can use  apache licensed...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div align="right" style="float:right;padding:0px 0px 5px 5px;"><a name="fb_share" type="box_count" share_url="http://www.inteism.com/2010/01/some-web-server-administration-tips-on-centos-and-cpanel-but-not-only/"></a></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.inteism.com%2F2010%2F01%2Fsome-web-server-administration-tips-on-centos-and-cpanel-but-not-only%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.inteism.com%2F2010%2F01%2Fsome-web-server-administration-tips-on-centos-and-cpanel-but-not-only%2F&amp;source=inteist&amp;style=normal&amp;hashtags=Apache,CentOS,cPanel,PHP" height="61" width="50" /><br />
			</a>
		</div>
<p>This is more of a personal notes for myself but I am sure others will find it useful.</p>
<p><strong>Apache:</strong></p>
<p><strong>/usr/local/apache/logs/error_log</strong></p>
<p>All exceptions caught by httpd, along with standard error output form CGI applications are logged here.  The first place you should look when httpd crashes, or you incur errors when accessing a website.</p>
<p><strong> /usr/local/apache/logs/suexec_log</strong></p>
<p>Contains auditing information reported by suexec each time a CGI applicaiton is executed.  If you receive an internal server error, with no relevant information being reported to the Apache error_log, check here for potential suexec policy violations.</p>
<p>Domain specific access logs are located here:</p>
<p><strong>/usr/local/apache/domlogs/</strong></p>
<p><strong>PHP</strong></p>
<p>To find out which php.ini is used for PHP configuration (to save you frustration of editing a non active php.ini) find it with the following simple command:<br />
<strong>php -i | grep php.ini</strong></p>
<p>where -i switch is used to give you PHP information (obviously). To see other useful switches run</p>
<p><strong>php -h</strong></p>
<p>to locate where php is use:</p>
<p><strong>which php</strong></p>
<p>(but you already knew this &#8211; right ? <img src='http://www.inteism.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   )</p>
<p>*** Some of these tips are applicable not only to CentOS and cPanel configuration.</p>


<p>Related posts:<ol><li><a href='http://www.inteism.com/2010/05/how-to-use-apache-2-0-in-commercial-products-explained-in-simple-terms/' rel='bookmark' title='Permanent Link: How to use Apache 2.0 license in commercial products, explained in simple terms'>How to use Apache 2.0 license in commercial products, explained in simple terms</a> <small>If you were wondering whether you can use  apache licensed...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.inteism.com/2010/01/some-web-server-administration-tips-on-centos-and-cpanel-but-not-only/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
