SOLVED Easyapache4 can't change php handler

Aquanuke

Member
Dec 11, 2002
11
1
153
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.
 

Aquanuke

Member
Dec 11, 2002
11
1
153
I fixed it by doing

yum install ea-php71-php

/usr/local/cpanel/bin/rebuild_phpconf --ea-php71=dso
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.