Operating System & Version
Centos 7

Kerrya

Member
Jul 27, 2013
9
1
53
cPanel Access Level
Reseller Owner
I’m puzzled over the role of DSO.

I’m told you can only use it as a handler on one version of PHP at a time.

If your server has multiple versions of PHP how do you decide which one to assign to DSO?

Any advise appreciated.
 

vacancy

Well-Known Member
Sep 20, 2012
430
135
93
Turkey
cPanel Access Level
Root Administrator
This depends on the intended use.

mod_php (DSO) > Fast, low memory consumption, low cpu consumption. It allows you to use accelerators such as opcache. Running inside the Apache chroot is unsafe.

Suphp > It is slow, low memory consumption but high cpu consumption, does not allow you to use accelerators such as opcache, but it is safe.


I suggest you try mod_lsapi.
 

Kerrya

Member
Jul 27, 2013
9
1
53
cPanel Access Level
Reseller Owner
Wow. Thank you for that answer and the links.

I’ve read thru them and have a much better understanding.

It seems like FstCGI is the way to go if you have the memory to support it.
 
  • Like
Reactions: cPRex