mpm_prefork not support http2

    • 73 posts
    March 13, 2019 1:14 AM EDT

    To use mod_php, you need to enable the apache module mpm_prefork. This is an SE recommendation.
    mpm_prefork does not support the http2 protocol.
    We then need to enable Apache mod_event (or mod_worker) and install php-fpm.

    I thought.
    If I install php-fpm, will nginx web server perform better than Apache web server?

    Will other people use http2? Do you use apache + php-fpm if you use it? Or should I use nginx + php-fpm?

    Will SE and Nginx fit well? How does mod_rewite work?
    How do I implement .htaccess in nginx?
    Is there a problem with SE?

    If you have the same experience, please spread the wisdom.
    The simplest way is not to use http2?

    • 303 posts
    March 13, 2019 4:42 AM EDT
    You’ll get little to no support when it comes to nginx here. Most run on apache and those who do run on nginx don’t share how to set it up. The issue usually sits with nginx rules as you will need to convert htaccess rules to suit.

    I run
    • 303 posts
    March 13, 2019 4:45 AM EDT
    Hit reply by accident.

    I run apache with Engintron also. Engintron will use nginx as a reverse proxy to serve static files.

    I use worker and php fpm on php7.2

    Site works fine. You will need to make a change in the Engintron configuration vhost if you’re using ssl or cloud flare but that’s simple.

    If you get stuck let me know.

    Ps would be cool for an official how to with nginx.
    • 73 posts
    March 15, 2019 4:08 AM EDT

    Thanks for the advice.
    I decided to keep Apache intact.
    And I decided to introduce nginx as a proxy server.
    I judged it in the most reasonable way.