Results 1 to 18 of 18
-
07-10-2013, 09:13 PM #1Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 53
LiteSpeed vs Apache & SuEXEC vs SuPHP
I'm currently a HostGator customer (shared cPanel server) who has been quite happy with their hosting for quite a few years. However, I'm now exploring other possible "just in case" options since EIG's takeover. MDDhosting looks like a decent possibility, but with a couple of differences that I'm unsure about. Perhaps someone here could help me to understand better the advantages and disadvantages.
1) My current HG (The Planet) shared server runs Apache under CentOS release 6.4. It appears that MDDhosting runs LiteSpeed, but I can't seem to find other OS details except a claim that it is "up to 9 times faster than Apache web hosting" and I'm not even sure what "faster" means in any realistic terms. Would it actually be a significant advantage for a personal site (retirement hobby) that serves only WordPress pages from a MySQL database?
2) HostGator uses suPHP which allows me to set my own php.ini reference (suPHP_ConfigPath) in my main .htaccess file. I'm told by MDDhosting's sales people that they run LiteSpeed with SuEXEC (not SuPHP) so that each individual PHP parameter (override) must be specified within the .htaccess file itself. It was my understanding that cPanel no longer natively supports SuEXEC and that almost everybody now uses SuPHP instead. Is one "safer" than the other or "better" in some other way?
If anyone chooses to answer either question, please assume that I'm a completely ignorant dummy about web server operating systems. Because I am.
-
07-10-2013, 09:17 PM #2Disabled
- Join Date
- Dec 2010
- Location
- 127.0.0.1
- Posts
- 5,732
1). Litespeed is better than Apache and is faster than Apache too.
2). I've always used SuPHP as I know more about it than SuEXEC but i'm sure someone who has used both here will help you better.
MDDHosting is well known on the forum and I believe you won't have any issues over there.
-
07-10-2013, 09:22 PM #3Web Hosting Master
- Join Date
- May 2008
- Location
- Melbourne, Australia
- Posts
- 10,629
LiteSpeed vs Apache & SuEXEC vs SuPHP
You would not believe at how many threads there are on LiteSpeed vs Apache - I've done my own internal testing on both, they can be just as good as one another, LiteSpeed has its pros and cons just the same as Apache, really comes down to what is required ... One static page on a single VPS you may as well forget LiteSpeed
That's an example of course.██ l Dedigeeks • Shared • Wordpress • Dedicated • Established 2006
██ l Leading AUSTRALIAN Hosting Provider • Sydney & Melbourne Datacentres
██ l cPanel/WHM • R1Soft Backups • 24/7/365 Support • SMS Hosting Alerts*
██ l www.dedigeeks.com • Managing Director • Service Superstars
-
07-10-2013, 09:23 PM #4Web Hosting Industry Expert
- Join Date
- Dec 2007
- Location
- Indiana, USA
- Posts
- 19,196
Most of our servers are CloudLinux. Some are 5.X but most are 6.X - we're in the process of upgrading any of our older hardware and in the process moving to 6.X as well.
LiteSpeed suEXEC is similar to Apache suPHP. All suPHP does for Apache is allow your PHP processes to run as your user - suEXEC under LiteSpeed does the same thing.
I would worry less about the software on the server and more about maintaining and growing your site. At the end of the day you don't buy a shared plan so that you can manage the server - you buy a shared plan to host a site.
Just as you would create a php.ini once and be done with it - you would do the same thing with specifying any changes you needed to the php environment in your .htaccess with suEXEC on LiteSpeed.█ Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
█ Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
█ cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
█ Class-leading support that responds in minutes, not days.
-
07-10-2013, 09:25 PM #5Web Hosting Industry Expert
- Join Date
- Dec 2007
- Location
- Indiana, USA
- Posts
- 19,196
LiteSpeed does just fine for static content - upwards of 25,000 requests/second served in my own testing. On a VPS for a single site - I'd just use the free edition of LiteSpeed - it requires manual configuration but once you set it up you can generally leave it alone.
█ Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
█ Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
█ cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
█ Class-leading support that responds in minutes, not days.
-
07-10-2013, 09:30 PM #6Web Hosting Guru
- Join Date
- Mar 2013
- Location
- Detroit, MI
- Posts
- 338
1.) A little while ago, I was reading about a LiteSpeed vs. Nginx vs. lighttpd experiment that took place. If I remember correctly, LiteSpeed beat the other 2 in terms of max requests per second by about 1.5x, and the whole gang beat out Apache. So, is Litespeed faster? Yes, in many cases, but remember that depends on specs being tested. I wouldn't, however, anticipate an improvement by a multiple of 9 in your case. Also, if you're not noticing any performance issues with your blog right now, making the switch may not even result in any noticeable changes.
I'd attempt to answer #2 for you, but my experience is primarily suPHP, and I'm sure someone else is far more qualified to discuss this in reference to SuEXEC.
-
07-10-2013, 09:52 PM #7Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 53
Thanks, everybody. WOW! Quick and well informed answers here. Some hosting services could take lessons.
@Michael Denney: I'm not worrying, neither more nor less, about anything in particular, Michael, and nor have I made any decision ... at least not yet. However, my past experience has taught me that informing oneself as fully as possible in advance of any such decision is never a bad idea. Incidentally, I've already stated at least one difference between SuPHP and SuEXEC other than simply allowing PHP to run as the user. The fact that other differences may not be important to you doesn't mean that I should disregard them entirely myself.
And your telling me why I buy a shared plan or anything else is just a little bit presumptuous on your part, don't you think? As I said, it's a personal retirement hobby of mine and I like to understand as much about its underpinnings as possible for reasons of my own. Call it plain old curiosity if you wish.Last edited by Arvy; 07-10-2013 at 09:58 PM.
-
07-10-2013, 10:03 PM #8Web Hosting Industry Expert
- Join Date
- Dec 2007
- Location
- Indiana, USA
- Posts
- 19,196
I should have been more clear - I was simply saying I wouldn't worry about it - not that you shouldn't ask questions and learn .
Well the biggest difference is that suPHP isn't LiteSpeed suEXEC and vice versa. They are two different ways of doing the same thing. Just as a Lamborghini and a Metro are both cars - they themselves go about getting you from point A to B in a different way. At the end of the day though - you still get from point A to B.
No - it's a simple statement of fact - you do not buy shared hosting so that you can manage a server was the point. If you want to manage a server - you buy a server .
Sure - if you have any other questions at all just ask I'm happy to address them to the best of my ability.█ Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
█ Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
█ cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
█ Class-leading support that responds in minutes, not days.
-
07-10-2013, 10:27 PM #9Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 53
Really, Michael! Let us please try to understand one another without unwarranted judgemental assumptions.
Any prospective buyer of either a Lamborghini or a Metro will (if rationally inclined at all) want to know as much as possible about the vehicle prior to purchase. That doesn't imply that he expects to do his own servicing and maintenance. It is very likely, however, that he may need to adjust some expectations and possibly some driving habits accordingly (as with my own PHP configuration methods in this case). I have absolutely no server management intentions, inclinations or interests whatever. I'm only trying to be a well informed decision maker.
So thanks very much. I will indeed keep on with inquiries for my own learning purposes as you suggest.
-
07-10-2013, 10:46 PM #10Web Hosting Industry Expert
- Join Date
- Dec 2007
- Location
- Indiana, USA
- Posts
- 19,196
If you could let me know where I'm judging you - that would be appreciated. I'm simply answering your questions and being as detailed and elaborate as possible.
I know a lot of people that buy cars without even the slightest idea of how they work beyond the keys, the fuel door, the gas and brake pedals, and the steering wheel. To say that everybody looking at buying a car would want to know as much about a car as possible is an assumption of your very own .
A smart and informed buyer would do said research - but not everybody is a smart and informed buyer. The sheer fact that you do want to know how things work is great, but not required.
Sure - as I said, ask any and all questions you want and I'll be happy to answer them to the best of my ability. If I didn't want to answer them - I wouldn't and it's that simple.
Sure.█ Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
█ Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
█ cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
█ Class-leading support that responds in minutes, not days.
-
07-10-2013, 11:02 PM #11Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 53
Michael, if you can't see that your responses here included totally unwarranted assumptions (both about my reasons for buying a shared plan and about my reasons for asking questions about your company's server setups) then I see little point of further discussion in that area. It's quite irrelevant to what I was actually asking about and gets us nowhere. Let's just drop that part of it entirely, please. Thanks.
Last edited by Arvy; 07-10-2013 at 11:08 PM. Reason: grammar
-
07-10-2013, 11:12 PM #12Web Hosting Industry Expert
- Join Date
- Dec 2007
- Location
- Indiana, USA
- Posts
- 19,196
Sure, I only asked so that I could try to avoid doing it in the future and not to perpetuate the issue. If you want to drop me a PM with some details that would be appreciated. I obviously don't interpret things from your perspective so it's helpful when you share your perspective with me.
█ Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
█ Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
█ cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
█ Class-leading support that responds in minutes, not days.
-
07-10-2013, 11:35 PM #13Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
I think I see a misunderstanding here. "suexec" is often used as a generic term for setuid, ie. running a process as a specified user. Litespeed runs PHP under their own system called LSAPI (LiteSpeed Server Application Programming Interface), which can be run as the user (setuid / "suexec") or not. The provider chooses which way to run it, but on shared hosting systems setuid is the norm.
When you say "cPanel no longer natively supports SuEXEC" I guess you're referring to phpSUEXEC, a particular build of PHP that went EOL about 10 years ago, being replaced by suPHP in cPanel systems. (And in passing, suPHP is now going EOL - perhaps to be replaced by fastcgi??)
So if you think Litespeed is running the obselete phpSUEXEC that cPanel gave up years ago, that's not correct - they have their own system which is similar in terms of safety to suPHP. I think the performance is generally better but I'll leave others to benchmark that - it's hard to get accurate comparisons between different providers with different hardware, users-per-server etc.
From the user's PoV the main difference, as you've already noted, is that PHP directives need to be placed in the .htaccess file rather than in a user php.ini file.Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
07-10-2013, 11:39 PM #14Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 53
@Michael: PM sent as requested. Let me emphasize that there's no big deal about it and certainly no hard feelings or anything like that. Was just looking for some "techie" inputs to a possible future decision which remains entirely open.
@foobic: THANK YOU! That explains things perfectly. Much appreciated.
-
07-10-2013, 11:39 PM #15Web Hosting Guru
- Join Date
- May 2007
- Location
- Canada
- Posts
- 287
Litespeed is amazingly fast.. If I was searching for hosting I don't think I would purchase web hosting from a company that does not have it.
It also depends on what your hosting. A small static website won't see much of a speed increase.www.varcoe.net - Modern web design at an affordable price.
-
07-10-2013, 11:41 PM #16Web Host Reviewer
- Join Date
- Feb 2006
- Location
- Kepler 62f
- Posts
- 16,703
Another awesome foobic reply.
Somebody buy this man a beer! (Or if you don't drink, a cookie. )|| Need a good host?
|| See my Suggested Hosts List || Editorial: EIG/Site5/Arvixe/Hostgator Alternatives
||
-
07-10-2013, 11:57 PM #17Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 53
^ Ditto. I'll be more than happy to buy that beer (or cookie).
-
07-11-2013, 12:50 AM #18Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
HTH. You know, we have a smiley for this:
But please KP, none of that American bilge-water...Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
Similar Threads
-
cpanel Exim suPHP & suExec - web emails going out as server host vs. domain name
By pmabraham in forum Hosting Security and TechnologyReplies: 4Last Post: 08-30-2013, 04:50 PM -
cPanel apache handler, SuExec, SuPHP, CGI etc etc.
By dabHosts.co.uk in forum Hosting Security and TechnologyReplies: 1Last Post: 02-15-2011, 03:54 PM -
register_globals with suphp and suEXEC
By ttgt in forum Hosting Security and TechnologyReplies: 16Last Post: 04-19-2009, 09:38 AM -
suexec and suphp?
By dotflyer in forum Hosting Security and TechnologyReplies: 1Last Post: 02-08-2008, 12:46 AM -
Really weird issue w/ suexec & apache
By ChickenSteak in forum Hosting Security and TechnologyReplies: 5Last Post: 01-19-2003, 07:06 PM