Easyapache4 can't change php handler
Hi running Easyapache4 CENTOS 7.3 WHM 60.0 (build 28).
I would like to run php7 and opcache and my current php handler is cgi with php-fpm
The cpanel opcache docs say
"We strongly recommend that you use the DSO or fcgi PHP handlers if you install OPCache. "
But when I click on WHM > MultiPHP Manager > PHP handlers
The drop down menu only gives me the options cgi or none.
How do I get the other handlers available? I think I read you need to rebuild php/apache but I can't see how you do that in easyapache4 as you just have provision.
-
I fixed it by doing yum install ea-php71-php /usr/local/cpanel/bin/rebuild_phpconf --ea-php71=dso 0 -
I fixed it by doing yum install ea-php71-php /usr/local/cpanel/bin/rebuild_phpconf --ea-php71=dso
I'm happy to see you were able to determine the correct method of installing the DSO PHP package. Thank you for updating this thread with the outcome.0
Please sign in to leave a comment.
Comments
2 comments