<?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>UNIXy &#187; suPHP</title>
	<atom:link href="http://blog.unixy.net/tag/suphp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.unixy.net</link>
	<description>Fully Managed Dedicated Servers</description>
	<lastBuildDate>Fri, 03 Sep 2010 04:07:59 +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>How to install suPHP on cPanel</title>
		<link>http://blog.unixy.net/2009/05/how-to-install-suphp-on-cpanel/</link>
		<comments>http://blog.unixy.net/2009/05/how-to-install-suphp-on-cpanel/#comments</comments>
		<pubDate>Sat, 23 May 2009 20:20:38 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Crash Course]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[EasyApache]]></category>
		<category><![CDATA[secure PHP]]></category>
		<category><![CDATA[suPHP]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=10</guid>
		<description><![CDATA[Download article as PDF suPHP is a module that enhances overall server security. It forces the system to execute PHP scripts with user privileges as opposed to Web server privileges. suPHP is a good security measure especially when you expect to host multiple unrelated websites or hosting accounts. It keeps rotten apples away from the [...]]]></description>
			<content:encoded><![CDATA[<div class="pdf24Plugin-cp"> <form name="pdf24Form1" method="post" target="pdf24PopWin" action="http://doc2pdf.pdf24.org/wordpress.php"><input type="hidden" name="blogCharset" value="VVRGLTg=" /><input type="hidden" name="blogPosts" value="MQ==" /><input type="hidden" name="blogUrl" value="aHR0cDovL2Jsb2cudW5peHkubmV0" /><input type="hidden" name="blogName" value="VU5JWHk=" /><input type="hidden" name="blogValueEncoding" value="base64" /><input type="hidden" name="postTitle_0" value="SG93IHRvIGluc3RhbGwgc3VQSFAgb24gY1BhbmVs" /><input type="hidden" name="postLink_0" value="aHR0cDovL2Jsb2cudW5peHkubmV0LzIwMDkvMDUvaG93LXRvLWluc3RhbGwtc3VwaHAtb24tY3BhbmVsLw==" /><input type="hidden" name="postAuthor_0" value="VU5JWHk=" /><input type="hidden" name="postDateTime_0" value="TWF5IDIzLCAyMDA5IDg6MjAgcG0=" /><input type="hidden" name="postContent_0" value="PGRpdiBjbGFzcz0idHdlZXRtZW1lX2J1dHRvbiIgc3R5bGU9ImZsb2F0OiByaWdodDsgbWFyZ2luLWxlZnQ6IDEwcHg7Ij4KCQkJPGEgaHJlZj0iaHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy51bml4eS5uZXQlMkYyMDA5JTJGMDUlMkZob3ctdG8taW5zdGFsbC1zdXBocC1vbi1jcGFuZWwlMkYiPjxiciAvPgoJCQkJPGltZyBzcmM9Imh0dHA6Ly9hcGkudHdlZXRtZW1lLmNvbS9pbWFnZWJ1dHRvbi5naWY/dXJsPWh0dHAlM0ElMkYlMkZibG9nLnVuaXh5Lm5ldCUyRjIwMDklMkYwNSUyRmhvdy10by1pbnN0YWxsLXN1cGhwLW9uLWNwYW5lbCUyRiZhbXA7c3R5bGU9bm9ybWFsIiBoZWlnaHQ9IjYxIiB3aWR0aD0iNTAiIC8+PGJyIC8+CgkJCTwvYT4KCQk8L2Rpdj4KPHA+c3VQSFAgaXMgYSBtb2R1bGUgdGhhdCBlbmhhbmNlcyBvdmVyYWxsIHNlcnZlciBzZWN1cml0eS4gSXQgZm9yY2VzIHRoZSBzeXN0ZW0gdG8gZXhlY3V0ZSBQSFAgc2NyaXB0cyB3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zaW9uIG9uIGFueSBmaWxlIHVzaW5nIHRoZSBmb2xsb3dpbmcgY29tbWFuZDo8L3A+CjxibG9ja3F1b3RlPjxwPmNobW9kIDc1NSAmbHQ7ZmlsZW5hbWUmZ3Q7PC9wPjwvYmxvY2txdW90ZT4KPHA+WW91IGNhbiBhbHNvIGNoYW5nZSBmaWxlIG93bmVyc2hpcCB1c2luZyB0aGUgY2hvd24gY29tbWFuZDo8L3A+CjxibG9ja3F1b3RlPjxwPmNob3duIHVzZXIudXNlciAmbHQ7ZmlsZW5hbWUmZ3Q7PC9wPjwvYmxvY2txdW90ZT4KPHA+SSBob3BlIHRoaXMgaXMgdXNlZnVsIHRvIGFueW9uZSBzZXR0aW5nIHRvIGluc3RhbGwgc3VQSFAgb24gYSBjUGFuZWwgc2VydmVyLjwvcD4K" /></form> <div class="pdf24Plugin-cp-link"> 	<a href="http://en.pdf24.org" target="_blank" title="PDF Printer"><img src="http://blog.unixy.net/wp-content/plugins/pdf24-post-to-pdf/img/sheep_16x16.gif" alt="PDF Printer" border="0" /></a> 	<a href="javascript:void(document.pdf24Form1.submit());" onclick="var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=400,height=200,top=0,left=0'); pdf24Win.focus(); return true;">Download article as PDF</a> </div> </div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F05%2Fhow-to-install-suphp-on-cpanel%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F05%2Fhow-to-install-suphp-on-cpanel%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>suPHP is a module that enhances overall server security. It forces the system to execute PHP scripts with user privileges as opposed to Web server privileges. suPHP is a good security measure especially when you expect to host multiple unrelated websites or hosting accounts. It keeps rotten apples away from the good ones! Keep in mind that <a href="http://www.unixy.net" target="_self">UNIXY</a> is a truly fully managed dedicated server company. We are always happy to assist our customers in accomplishing tasks such as installing suPHP on their dedicated server or cluster.</p>
<p>This small guide will go over the installation of suPHP on a cPanel server. cPanel has a peculiar way of setting up suPHP. The good news is that cPanel simplifies the installation! Here&#8217;s an overview of the required steps:</p>
<ol>
<li>Install suPHP Using EasyApache</li>
<li>Configure suPHP</li>
<li>Verify The Configuration</li>
</ol>
<p>It&#8217;s important to pick a maintenance window that is less intrusive on your users or customers. The rebuild of Apache to support suPHP can cause down time. So be sure to send out a friendly email to your customers.</p>
<ol>
<li>Install suPHP Using EasyApache</li>
</ol>
<p>There are two ways to launch the EasyApache program. The first one is through SSH and the other via WHM. I prefer SSH so the rest of this guide will be based on that method. So go ahead and remote into the server as user root. Once logged in, run the easyapache script as such</p>
<blockquote><p>/scripts/easyapache</p></blockquote>
<p>The first textual screen that pops up will say the following: &#8220;<strong>Please choose a profile to load</strong>.&#8221; Simply hit the <em>Tab</em> key twice. The textual box &#8220;<strong>Start customizing based on profile</strong>&#8221; will become highlighted. At which point will hit the <em>Enter</em> key on your keyboard. Once you hit <em>Enter</em>, you will be presented with another screen. This time the screen says: &#8220;<strong>Please choose which apache to build</strong>.&#8221; Simply hit the <em>Tab</em> key once and then hit <em>Enter</em> again.</p>
<p>There are two more screen to go and we&#8217;re done. After hitting the <em>Enter</em> key above, another screen will pop up. This time it says: <strong>Please choose which main PHP versions (if any) to build</strong>.&#8221; Hit the <em>Tab</em> key once and then the <em>Enter</em> key. Follow the same instructions for the screen with title &#8220;<strong>Please choose which specific PHP version(s) to build</strong>.&#8221; The next screen, however, is very important. This is where we get to pick the suPHP module that we are building. Once you hit <em>Enter</em> in the previous step, the screen &#8220;<strong>Short Options List</strong>&#8221; comes up. Go ahead and hit the <em>Tab</em> key a few times until &#8220;<strong>Exhaustive Options List</strong>&#8221; is highlighted then press <em>Enter</em>. Scroll down the list of options until you cursor is on the entry &#8220;<strong>Mod SuPHP</strong>&#8230;&#8221;.  Hit the <em>Space</em> key once to check the box. Hit the <em>Tab</em> key once then Enter, then select <strong>&#8220;Save and Build&#8221;</strong>. Answer <em>Yes</em> to all questions</p>
<p>At this point the build has started. Wait for the build to complete. It&#8217;s important that no one uses WHM while the build is in progress. The build takes about 20 minutes to complete depending on server resources. Once the build is finished, proceed to step 2 below.</p>
<p>2. Configure suPHP</p>
<p>This is an important step because it formally enables suPHP. Simply run the following command</p>
<blockquote><p>/usr/local/cpanel/bin/rebuild_phpconf 5 none suphp 1</p></blockquote>
<p>We&#8217;re essentially telling it that we want PHP version 5 running on suPHP and SUEXEC. To verify that command has taken effect run the following command. The output should be indentical:</p>
<blockquote><p># /usr/local/cpanel/bin/rebuild_phpconf &#8211;current<br />
Available handlers: suphp dso cgi none<br />
DEFAULT PHP: 5<br />
PHP4 SAPI: none<br />
PHP5 SAPI: suphp<br />
SUEXEC: enabled</p></blockquote>
<p>So far so good! Now go ahead and restart Apache by running the following command:</p>
<blockquote><p>/scripts/restartsrv_httpd</p></blockquote>
<p>3. Verify The Configuration</p>
<p>At this point all should be working fine. But it&#8217;s prudent to keep an eye on the suPHP log file as that&#8217;s where errors and warnings show up. The suPHP log file is located here:</p>
<blockquote><p>/usr/local/apache/logs/suphp_log</p></blockquote>
<p>Most errors are related to permissions on PHP files. suPHP is very picky about permission and / or file ownership so be sure your PHP files have permission 755 and are owned by the same user account. You can change permission on any file using the following command:</p>
<blockquote><p>chmod 755 &lt;filename&gt;</p></blockquote>
<p>You can also change file ownership using the chown command:</p>
<blockquote><p>chown user.user &lt;filename&gt;</p></blockquote>
<p>I hope this is useful to anyone setting to install suPHP on a cPanel server.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2009/05/how-to-install-suphp-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
