handler question

Customer support forums for Atomic Protector (formerly Atomic Secured Linux). There is no such thing as a bad question here as long as it pertains to using Atomic Protector. Newbies feel free to get help getting started or asking questions that may be obvious. Regular users are asked to be gentle. :-)
imadsani
Forum Regular
Forum Regular
Posts: 112
Joined: Mon Sep 16, 2013 10:10 am
Location: Lahore

handler question

Unread post by imadsani »

We're thinking of moving a server under heavy load from fastcgi to mod_php. The debate in-house is that we should move to mod_suphp, is that wise? I mean with ASL running would'nt it be alright to just use mod_php and let ASL handle the security part?
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: handler question

Unread post by faris »

Does the server handle more than one website or only one?
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
imadsani
Forum Regular
Forum Regular
Posts: 112
Joined: Mon Sep 16, 2013 10:10 am
Location: Lahore

Re: handler question

Unread post by imadsani »

faris wrote:Does the server handle more than one website or only one?
This one only handles one, but I run another server which hosts two websites but those don't bring in the kind of traffic this does
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: handler question

Unread post by faris »

In that case (and I'm open to corrections) I don't think it matters if you run as mod_php, security wise. Yes, that's the "old" way, but using fastcgi mostly really brings security and configuration benefits when you have multiple sites rather than just one (or two, I guess).
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
imadsani
Forum Regular
Forum Regular
Posts: 112
Joined: Mon Sep 16, 2013 10:10 am
Location: Lahore

Re: handler question

Unread post by imadsani »

The real reason I'm considering moving to mod_php is because of performance. The site brings the server to its knees with 400 pageviews/minute. From what I hear about fastcgi I'm guessing I should be able to squeeze a little bit more out of this before I need a load balancing setup.
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: handler question

Unread post by prupert »

Although Apache/mod_php is the easiest to set up, perhaps PHP FPM is something that might interest you. It really has best of all worlds in terms of performance, security and flexibility.
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: handler question

Unread post by scott »

and suphp is definitely not the way to go, this would be using cgi to execute requests. It would be the slowest configuration
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: handler question

Unread post by mikeshinn »

suphp is really slow.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: handler question

Unread post by faris »

prupert wrote:Although Apache/mod_php is the easiest to set up, perhaps PHP FPM is something that might interest you. It really has best of all worlds in terms of performance, security and flexibility.
I know PHP FPM this has been mentioned before, and it is supported by Plesk is it not? But I just don't "get" it and if I remember correctly, reading about it didn't help me.

I mean is it something that everybody should enable in Plesk (or manually as in the OPs case)? Are there disadvantages?
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply