The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Easyapache4 can't change php handler

Discussion in 'EasyApache' started by Aquanuke, Dec 31, 2016.

Tags:
  1. Aquanuke

    Aquanuke Member

    Joined:
    Dec 11, 2002
    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    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.
     
  2. Aquanuke

    Aquanuke Member

    Joined:
    Dec 11, 2002
    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    153
    I fixed it by doing

    yum install ea-php71-php

    /usr/local/cpanel/bin/rebuild_phpconf --ea-php71=dso
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page