Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: SuPHP and Ubuntu 10.10
PostPosted: Mon Jun 06, 2011 11:01 am 
Offline
Newbie

Joined: Mon Jun 06, 2011 10:51 am
Posts: 3
Hi,

I am wanting to set up suPHP to provide security for the various PHP scripts that I will be running such as WordPress. Normally, I prefer to use the LTS releases of Ubuntu, but I was forced to use 10.10 as I need Python 2.7 for other things. I followed this guide for 10.04 to no success.

I have also posted this question to Server F ult, so If you answer here, please answer there as well.

Any help is appreciated,

Sean


Top
   
PostPosted: Mon Jun 06, 2011 11:32 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Sean_W wrote:
no success

What exactly doesn't work? What kind of error messages (if any) do you get?

Also, are you sure you really want suPHP?

suPHP is slow, and its security benefits are usually quite small in a self-managed VPS environment. It won't make your PHP scripts any more secure; it merely tries to control the damage if and when a script is exploited. (Shared hosting companies use suPHP because it might allow them to keep servicing other customers even if one customer gets hacked.) If you want suPHP only because someone told you it's good, think again. There are better options, such as nginx and FastCGI/FPM.


Top
   
 Post subject:
PostPosted: Mon Jun 06, 2011 11:43 am 
Offline
Newbie

Joined: Mon Jun 06, 2011 10:51 am
Posts: 3
I don't get any error messages. And as you mention, I'm finding out that suPHP is more of a pain than it's worth. Primarily, I just need to prevent an exploit from spreading from one user to another as I plan on hosting sites for close friends and family who aren't exactly tech savvy. So, I guess I could set up chjails to prevent that?


Top
   
 Post subject:
PostPosted: Mon Jun 06, 2011 12:10 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Run each site under a different user using fast cgi. If you're feeling paranoid set each users files so the others read bit is disable that way only the user and group can read them. Configure php's open_basedir. Vet your friends code and if they're using software like drupal/joomla make sure they keep it up to go.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group