Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Using suphp To Secure A Shared Server
prostoalex
follow
0
1-18-2008 4:26 PM
204 views
tags:
suphp
,
php
,
apache
,
security
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Related Clips
No.2 of Fannie Five - Barney Frank
IT’S THE DERIVATIVES, STUPID!
fake photo
Impeached Federal Judge Alcee Hastings' St...
Halloween Recipes
Who Killed the Electric car? (whole movie!)
Who is the country's number 1 energy expert?
More clips from
prostoalex
The Complete Guide for You to Become an Al...
Git Magic
The Art of Engineering
Today's Top Clips
Women: Just so darn tempting.
Beauty in Decay
Bet you didn't hear this on Fox News!
Cannabis less harmful than drinking, smoking: report
Iceland in Meltdown Disaster
Say it ain't so, Sarah: Palin kicks off lying spree
Audrey Hepburn Screentest - Wait for her smile!
Pray or Go To Jail
Has Slippery Sarah ever answered a question?
Army Times: details of martial homeland security plans
visit the
Top Clips page
View the Top Clips from
January 18, 2008
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://www.clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/bb94f104-d503-47a1-bf22-29e584736841/9DB1AAA4-7778-4D05-AE33-7BB6737A172F/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/" href="http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/" style="font-size: 11px;">blog.stuartherbert.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/"><P>Like Apache’s own suexec, suphp is a solution that allows PHP to run as the user and group that owns any particular website on a shared hosting server.</p> <P>suphp consists of two components:</p> <UL> <li style="margin-left:16px;padding-left: 0px;">mod_suphp, an Apache module that replaces mod_php</LI> <li style="margin-left:16px;padding-left: 0px;">suphp, a setuid binary that replaces Apache’s suexec</LI> </UL> <P>It relies on PHP/CGI having been installed onto the server first.</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/">suphp is compiled and installed in the same way as any other Apache module. These instructions are for Apache 2.2, but they will work fine for Apache 2.0 as well. (You can run suphp on Apache 1.3 too). (Gentoo Linux and Seed Linux users can skip these instructions; you can install suphp using ‘<FONT face="courier new,courier">emerge mod_suphp</FONT>‘).</blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/"><P>The first thing you need to do to your Apache config files is to comment out mod_php. mod_suphp is a replacement for mod_php; you cannot run both at the same time.</p> <P>Then, in your main httpd.conf file, add the following:</P></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/9DB1AAA4-7778-4D05-AE33-7BB6737A172F/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Blog
Copyright
Privacy
EULA
OK