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.

EasyApache 4 Questions

Discussion in 'EasyApache' started by vlee, Oct 13, 2015.

Tags:
  1. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    I would like to know if these options below are effected by using "All PHP Options + ZendGuard" in EasyApache 4?

    1. memcached ran as a daemon as its a memory cache

    2. GeoIP as a PHP Pecl and using mod_geoip.


    Plus I noticed that "All PHP Options + ZendGuard" in EasyApache 4 still installs OpCache and my understanding is that SuPHP does not support Opcache.

    Is there a reason for OpCache being installed with SuPHP?
     
  2. MattDees

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Currently we do not have support for either of those two options. There are currently plans to get better support for PECL modules in 11.54.

    As for the "All PHP Options + ZendGuard" w/ opcache question. That profile installs EVERYTHING that it possible can as it tries not to presume the use case. Our hope is that when EA4 is further a long we can provide more tailored profiles for different server use cases. For example, an mpm_event & FPM profile for single site/few site systems, A mass shared hosting profile w/ suphp or itk + dso.
     
  3. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Thank you I will just use EasyApache 3 for now until further notice.
     
  4. Jesse Lanning

    Jesse Lanning Registered

    Joined:
    Nov 27, 2015
    Messages:
    2
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Syracuse
    cPanel Access Level:
    Root Administrator
    I got this to work by editing the pecl script. From command line as root:
    Code:
    pico`which pecl`
    On the last line where it says:
    Code:
    exec $PHP -C -n -q $INCARG -d date.....
    I simply removed the -n flag and the PHP Pecl Module Installer in WHM began working again.

    I am not sure if this breaks anything else so do so at your own risk.
     
  5. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Any more word from cPanel staff on if the PHP Pecl Module Installer in WHM will be working for Easy Apache 4?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There's currently no update on the resolution, other than to note plans exist to address the issue in the next couple of weeks.

    Thank you.
     
  7. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Any update on installing mod_geoip from EasyApache 4?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I see no update on support for Mod_GeoIP in EasyApache 4 at this time. However, there are plans to add documentation on creating RPM packages with EasyApache 4 in the future.

    Thank you.
     
  9. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    So what would be the best way to add Mod_GeoIP in EasyApache 4?
     
  10. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    510
    Likes Received:
    66
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
  11. mekanagadde

    mekanagadde Registered

    Joined:
    Feb 7, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chikmagalur
    cPanel Access Level:
    Website Owner
    Will the EasyApache 4 final release package be updated with PHP 7?
     
  12. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    510
    Likes Received:
    66
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    I'd recommend keeping an eye on the PHP 7 feature request:

    PHP7 support
     
  13. TravisAStrong

    TravisAStrong Registered

    Joined:
    Mar 2, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    vlee were you able to get mod_geoip installed?

    Attempting to follow the install docs mentioned at
    github.com/maxmind/geoip-api-mod_geoip2/blob/master/INSTALL.md

    results in:

    cannot open /usr/local/apache/build/config_vars.mk: No such file or directory at /usr/bin/apxs line 203
     
    #13 TravisAStrong, Mar 2, 2016
    Last edited by a moderator: Mar 2, 2016
  14. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    510
    Likes Received:
    66
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    Have you installed the old httpd-tools from EA3? EA4 APXS should be using /etc/, not /usr/local/. I'd recommend running:
    yum remove httpd-tools
    yum install ea-apache24-devel

    This should install the EA4 version of APXS and allow this compilation.
     
  15. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    I am currently waiting on EA4 to be out of beta before I do this.
     
  16. Matt G

    Matt G Registered

    Joined:
    May 10, 2016
    Messages:
    1
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hi. I wrote up a small tutorial for getting Mod_GEOIP working with Apache 2.4 and Easy Apache 4 on WHM/Cpanel if anyone is interested it's located here mattgibson.ca/compiling-mod_geoip2-use-easyapache-4-ea4-cpanel/.
     
    #16 Matt G, May 10, 2016
    Last edited by a moderator: May 10, 2016
    cPJacob likes this.
  17. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    510
    Likes Received:
    66
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Matt, that is awesome, thank you very much for writing that up. I'm going to publicize this link a bit if you don't mind :)
     
  18. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Yes,

    Thank you for taking the time to put this together. Will be very helpful.
     
Loading...

Share This Page