#1  
Old 21st September 2010, 04:35
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Question suPHP + suEXEC

I noticed that fastcgi is default in the last version of ISPC3.

That brings me to question.

What is good practice to enable" run as user" security and keep compatibility (joomla, wordpress.....)

I was thinkig that suPHP and su-exec enabled bout at the same time should work well.Or is that duplicate afford?

Also would like to custom suPHP directives under each website.

Thank you.
I'm hosting low traffic sites planing to grow up to 50 sites max.
Reply With Quote
Sponsored Links
  #2  
Old 21st September 2010, 13:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts
Default

Suphp + suexec is a dupliacet effort. If you want to use suphp, then suexec is not needed.
If you use cgi-php or fcgi-php, then you have to activate suexec.

Starting with ISPConfig 3.0.3 Beta you will have a inpit field for custom php.ini settings in ispconfig which works also for php-cgi and php-fcgi.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st September 2010, 17:30
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Question what do you recomend ?

Sugjestions?

I just installed new version of ispconfig3 on ubu 10.04 LTS

What is the best steps to have well rounded set up with broad compatibility regarding this options in ispconfig3?
The settings are a site specific so i could have one site with one set up and another with different setup.
I do like the security of run as user options and the sites are low trafic so there is no deed to keep stuf in rum constantly just load it when requested.

One thing I know that i would like to use custom directives using suPHP_ConfigPath.

All sites I host are personal or low traffic sites.

Or any guidelines when to select suphp suexec fast-cgi cgi......an others rae very apreciated?

Thank you for direction on this.

Last edited by u4david; 21st September 2010 at 17:33.
Reply With Quote
  #4  
Old 21st September 2010, 17:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts
Default

Quote:
I just installed new version of ispconfig3 on ubu 10.04 LTS
Which exact version? The new stable version or the new beta version?

Quote:
Is each site specific so i could have one site with one set up and another with different setup.
If you installed the 3.0.3 beta, then you can set individual php settings for every website.

Quote:
One thing I know that i would like to use custom directives using suPHP_ConfigPath.
Such internal are completely handled by ispconfig, you dont have to care how it is implemented. for suphp the suPHP_ConfigPath directive is used while for fcgo and cgi php different settings in the starter scripts are used.

Quote:
Or any guidelines when to select suphp suexec fast-cgi cgi......an others?
for low traffic sites, use either:

suphp or cgi-php + suexec

for high traffic sites, use php-fcgi + suexec
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st September 2010, 18:22
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default ispconfig3 beta -yes or no

Can i give it a go or should i expect to have issues?

I have the latest stable installed.
Wonder if i would benefit going beta?

Also if beta is ok where to get it from SVN?
Reply With Quote
  #6  
Old 21st September 2010, 18:46
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default got the location but....

http://www.ispconfig.org/releases/is...d-for-testing/

got the beta location install info.

Still wonder what is proven to work/fail.
And if i plane to stick with ispconfig3 for looong time would i be better off having stable version that i upgrade or go ahead and use the beta?

PS:so glad for all your help it really makes my "geeky like" life better.
Reply With Quote
  #7  
Old 21st September 2010, 19:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by u4david View Post
And if i plane to stick with ispconfig3 for looong time would i be better off having stable version that i upgrade or go ahead and use the beta?
On production systems, always use stable versions!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 25th September 2010, 16:47
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Question Somethink is up

Something happened with su-php enabled on all my sites.
The webmail returned error 404.
even just local access does the same.

I gonna try to start fresh and see if i can recreate the problem.

It hink it happend ufter update.
May be it was me but if someone knows anything about this I may need some light on that.

Should i expect issues with SU-php enabled and web mail access?
latest ISPC3 stable installed+ubuntu 10.04
Reply With Quote
  #9  
Old 25th September 2010, 16:50
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default any recomendation on su-php vs CGI+suexec

What one is better?
low traffic sites.
Joomla,wordpress,round cube,custom php.ini per site.

What would be better choice in the long run.Save resources and get things done.

I fallowed the ubuntu 10.04 PS.did i missed hwre su-PHP gets installed or is that some sort of module for php?


Thank you
Reply With Quote
  #10  
Old 25th September 2010, 16:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,653 Times in 4,462 Posts
 
Default

Quote:
Originally Posted by u4david View Post
Something happened with su-php enabled on all my sites.
The webmail returned error 404.
even just local access does the same.

I gonna try to start fresh and see if i can recreate the problem.

It hink it happend ufter update.
May be it was me but if someone knows anything about this I may need some light on that.

Should i expect issues with SU-php enabled and web mail access?
latest ISPC3 stable installed+ubuntu 10.04
You can not access webmail trogh the domain of a website as webmail is installed outside of the website root directory and suexec denies access for security reasons then. Additionally, the files ahve to be owned by the website user if they shall be accessible by suphp.

The solution is to create a dedicated wenbsite for webmail, e.g. with the domain webmail.yourdomain.com and wccess webmail trough this website only.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3, suexec, suphp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
suPHP and suEXEC broken by default in Ubuntu 10.04 Perfect Server jumba HOWTO-Related Questions 24 17th June 2010 17:51
mpm-itk + suexec + php-cgi grungy Installation/Configuration 2 25th March 2010 23:17
/home ad symlink after rsync run DreamK General 4 8th March 2010 13:44
Security - mod_php with FTP vs SuPHP or SuExec ethanlifka Installation/Configuration 1 22nd February 2010 11:18
fc6 + ISPConfig + suexec (using suPHP?) zetnsh Installation/Configuration 2 24th August 2007 22:21


All times are GMT +2. The time now is 20:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.