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.

custom opt module in EA 4

Discussion in 'EasyApache' started by ribo, Nov 3, 2015.

  1. ribo

    ribo Active Member

    Joined:
    Oct 15, 2015
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hello, i don t understand how do you install and enable a custom module in EA 4 like mod_remoteip. In EA 3 was easy but in EA 4 i am confused.
    Also i try to put from cgi/fcgi to fpm/fcgi but i get file not found

    And also i can t find how to install and enable Memcache
     
    #1 ribo, Nov 3, 2015
    Last edited by a moderator: Nov 3, 2015
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

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

    EA4 is still in a tech preview state, so it's not fully 100% working at this time, specifically with extra modules and such. Memcached can be installed from upstream CentOS, and then PHP manually configured to use proper libraries, but right now these operations are not supported.
     
  3. ribo

    ribo Active Member

    Joined:
    Oct 15, 2015
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    with mod remote ip i found solution.
    yum install ea-php<version>mod_remoteip
    and in http.conf i put
    # Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
    # Use mod_remoteip instead.
    RemoteIPHeader X-Forwarded-For

    LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
     
  4. ribo

    ribo Active Member

    Joined:
    Oct 15, 2015
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    sorry the install is
    yum install ea-apache24-mod_remoteip
     
  5. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

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

    Yep, you're right, I missed that, mod_remoteip is available. You can check out the full listing of packages by running:
    Code:
    yum list "ea-*"
     
  6. ribo

    ribo Active Member

    Joined:
    Oct 15, 2015
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hello, Memcached is installed from before and it was working in EA 3. Now i m trying to put it in php but i don t know exactly what to do in EA 4. Also i check
    Code:
    /etc/init.d/memcached status
    memcached (pid  1086) is running...
    
    So what must i do to see it in phpinfo?
     
  7. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    509
    Likes Received:
    64
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hello,

    Enabling memcached with SCLs in EA4 is quite complicated at this time, and we haven't quite gotten that part up and running yet. You'd basically need to enable the SCL option for whichever PHP version you're building memcached against, and then add those extensions to the INI via WHM -> MultiPHP INI Editor.
     
Loading...

Share This Page