Skip to main content

install apache module by script

Comments

6 comments

  • dalem
    why not just install it with yum yum install ea-apache24-mod_substitute.x86_64 :)
    0
  • dalem
    update I just looked mod_substitute comes up just fine in EA4
    0
  • jimlongo
    [quote]yum install ea-apache24-mod_substitute.x86_64
    That seems promising, thanks. What do I need to check first. Should I query `yum list` to see what's available? What if the server isn't using EA4? Just trying to imagine the scenarios that might exist on a cPanel server. On my servers yum search substitute -q =========================================== N/S matched: substitute =========================================== ea-apache24-mod_substitute.x86_64 : Response body substitution module for the Apache HTTP Server
    what are the other possibilities?
    0
  • cPanelMichael
    What if the server isn't using EA4?

    Hello @jimlongo, EasyApache 3 is quickly approaching end-of-life status. If you're server isn't using EasyApache 4, you should look into upgrading as soon as possible. You can read more about this at: Thus, the easier approach is to simply install the mod_substitute package that we already provide for use with EasyApache 4 by running the following command: yum install ea-apache24-mod_substitute
    Thank you.
    0
  • jimlongo
    Thanks Michael. Is it possible to be using EA4 with apache22? Do I need to check for apache version and either use yum install ea-apache24-mod_substitute or yum install ea-apache22-mod_substitute
    0
  • cPanelMichael
    Is it possible to be using EA4 with apache22? Do I need to check for apache version and either use

    Hello, No, EasyApache 4 only supports Apache version 2.4. Thank you.
    0

Please sign in to leave a comment.