DSO as PHP handler
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.
-
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. 0 -
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. 0 -
Thanks for the helpful links, @vacancy !!! 0
Please sign in to leave a comment.
Comments
3 comments