<?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> &#187; enable suPHP on Plesk</title>
	<atom:link href="http://eitwebguru.com/tag/enable-suphp-on-plesk/feed/" rel="self" type="application/rss+xml" />
	<link>http://eitwebguru.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 14:26:12 +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>Installation And Configuration of Mod_suPHP on Plesk (CentOS)</title>
		<link>http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/</link>
		<comments>http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 16:16:57 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[enable suPHP on Plesk]]></category>
		<category><![CDATA[install mod_suphp]]></category>
		<category><![CDATA[Install suPHP]]></category>
		<category><![CDATA[suPHP on CentOS]]></category>
		<category><![CDATA[suPHP Plesk]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=32</guid>
		<description><![CDATA[Introduction: Whenever PHP runs as an Apache Module it get executes as &#8220;user/group&#8221; of the web server which is usually &#8220;nobody&#8221; or &#8220;apache&#8221;. SuExec is a mechanism supplied with Apache which allows executing CGI scripts as the user to which they belongs to, rather than Apache’s user. This improves security in possibilities where multiple mutually [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="font-family: Verdana; font-size: small;">Introduction:</span></strong></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Whenever PHP runs as an Apache Module it get executes as &#8220;user/group&#8221; of the web server which is usually &#8220;nobody&#8221; or &#8220;apache&#8221;.  SuExec is a mechanism supplied with Apache which allows executing CGI scripts as the user to which they belongs to, rather than Apache’s user. This improves security in possibilities where multiple mutually distrusting users can put CGI content on the server and these scripts are executed as the user that created them. If user &#8220;admin&#8221; uploaded a PHP OR CGI script, you would see it was &#8220;admin&#8221; running the script when looking at the running processes on your server? This also provides an additional layer of security where script permissions can’t be set to 777 (read/write/execute at user/group/world level).</span></p>
<p><strong><span style="font-family: Verdana; font-size: small;">Installation:</span></strong><span id="more-32"></span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">**Make sure yum is installed on the server as it will help to install the dependencies.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">1) To get the latest version of mod_suphp RPM enable the Atomic Repository for Yum. This can be done using Following command</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 25px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong># wget -q -O - http://eitwebguru.com/scripts/atomic |sh </strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">2) After this mod_suPHP can be installed using command &#8220;yum install mod_php&#8221;</span></p>
<p><strong><strong><span style="font-family: Verdana; font-size: small;">Configuration:</span></strong></strong></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Once mod_suphp is installed, you will have to configure it with Apache.</span><strong> </strong></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">1) First you will have to create a suphp.conf file in /etc/httpd/conf.d/ Directory and Paste the following code</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 150px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong><strong>LoadModule suphp_module modules/mod_suphp.so

php_admin_value engine off
suPHP_Engine On
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php

</strong></strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">2) Restart Apache Service using command <strong><strong>&#8220;service httpd restart&#8221;</strong></strong></span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">3) Now you will have to creae suphp configuration file. So, create a new file in <strong><strong>/etc</strong></strong> directory named <strong><strong>&#8220;suphp.conf&#8221; </strong></strong>(rename<strong><strong> </strong></strong>the existing file and create a new one) and add following lines in it:</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 175px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong><strong><strong>[global]
logfile=/var/log/suphp.log
loglevel=info
webserver_user=apache
docroot=/var/www/vhosts
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false
check_vhost_docroot=false
errors_to_browser=false
env_path=/bin:/usr/bin
umask=0022
min_uid=30
min_gid=30

[handlers]
x-httpd-php=php:/usr/bin/php-cgi
x-suphp-cgi=execute:!self
</strong></strong></strong></pre>
<p align="justify">
<p align="justify"><span style="font-family: Verdana; font-size: small;">4) Restart Apache once more i.e. <strong><strong><strong>&#8220;service httpd restart&#8221;</strong></strong></strong></span></p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Del.icio.us"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Del.icio.us" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a digg"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a digg" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29&amp;u=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a FURL"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a FURL" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a reddit"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a reddit" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29&amp;url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;version=0.7" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Feed Me Links"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/feedmelinks.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Feed Me Links" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Feed Me Links" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Technorati"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Technorati" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;t=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Yahoo My Web"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/yahoo_myweb.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Yahoo My Web" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Stumble Upon"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Stumble Upon" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Google Bookmarks"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Google Bookmarks" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Google Bookmarks" /></a><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://mystuff.ask.com/mysearch/QuickWebSave?v=1.2&amp;t=webpages&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29&amp;url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Ask"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/ask.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Ask" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Ask" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="https://favorites.live.com/quickadd.aspx?url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Live-MSN"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/live.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Live-MSN" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Live-MSN" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;t=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a FaceBook"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a FaceBook" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.blogospherenews.com/submit.php?url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a BlogSphere News"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/blogspherenews.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a BlogSphere News" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a BlogSphere News" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29&amp;c=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a MySpace"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a MySpace" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Twitter"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Twitter" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/reader/link?url=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/&amp;title=Installation+And+Configuration+of+Mod_suPHP+on+Plesk+%28CentOS%29&amp;srcURL=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Google Buzz"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/googlebuzz.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Google Buzz" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Google Buzz" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://valent-blog.eu/social-bookmarking-reloaded/" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Social Bookmarking Reloaded"><img src="http://eitwebguru.com/wp-content/plugins/social-bookmarking-reloaded/sbr.png" title="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Social Bookmarking Reloaded" alt="Add 'Installation And Configuration of Mod_suPHP on Plesk (CentOS)' a Social Bookmarking Reloaded" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
