Join the community today
Become a Member

Sysadmin Apache Mod

Discussion in 'System Administration' started by Atrix, Oct 11, 2018.

Tags:
  1. Atrix

    Atrix New Member

    10
    4
    3
    Oct 7, 2018
    Ratings:
    +8
    Local Time:
    11:17 PM
    1.15.3
    MariaDB 10.1.36
    I'm looking and there is a thread for an apache module but I'm not sure how finished it is? I don't see the addon listed in my beta version of centminmod is why I ask.

    I'm currently using oneinstack to make an apache server, and it's definitely a requirement to use apache for this website, as it uses a cgi-bin perl module that depends on certain apache modules and it's so legacy I don't want to risk breaking it with trying to duplicate what it does on nginx.

    Oneinstack seems to work but I really like centminmod and wondering if there's a way to get apache up and running pretty easily, and in a sustainable way that'd live through updates. Bonus points if it could support multiple versions of php on the same server, if not I'd just use multiple droplets.
     
  2. eva2000

    eva2000 Administrator Staff Member

    37,356
    8,162
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,563
    Local Time:
    4:17 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    you what I discussed at Beta Branch - custom Apache 2.4 RPMs for Centmin Mod LEMP stack ? that is in private development path right now so nothing is publicly available.

    You mean in concurrent operating so Apache and Nginx or just Apache alone without Nginx ? Apache can be installed via yum packages just it will be older version of Apache in official Yum repo, those you can use 3rd party yum repo for newer Apache versions - just you'd need to configure Apache and Nginx to work together and for Apache to be configured for Nginx vhost web root paths and use Centmin Mod's PHP-FPM install. But that would be something you'd need to do yourself right now.
     
    • Like Like x 1
  3. Atrix

    Atrix New Member

    10
    4
    3
    Oct 7, 2018
    Ratings:
    +8
    Local Time:
    11:17 PM
    1.15.3
    MariaDB 10.1.36
    Thanks for the helpful info :)
     
  4. Atrix

    Atrix New Member

    10
    4
    3
    Oct 7, 2018
    Ratings:
    +8
    Local Time:
    11:17 PM
    1.15.3
    MariaDB 10.1.36
    Just updating I did what you suggested and installed apache24 from the yum repo and it all works great no complaints here. I took some of the config options from oneinstack in httpd.conf but other than that was pretty much straightforward. I am glad I went this route tho, the server response time for oneinstack was very bad and the serverload was huge on some pages. It said it would use php-fpm but it was all an apache mod... You worked some magic with centminmod just saying, much happier having used centminmod as a base and installing and configuring apache to work with it. Definitely going to send some donations your way when I get paid by clients.
     
    • Informative Informative x 1
    • Friendly Friendly x 1
  5. eva2000

    eva2000 Administrator Staff Member

    37,356
    8,162
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,563
    Local Time:
    4:17 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    cheers @Atrix great to hear and much appreciated :)
     
    • Like Like x 1
..