• I am using the official wordpress:latest docker container with my own separate nginx reverse proxy container. This is the only way I access the admin interface on my multisite install. To be clear nginx is not being used as the WordPress web server – that’s still Apache as per the official container.

    And boy is the admin interface slow – EVERY time a php loads or does a redirect to itself to force the cron job it takes 5s – so this means a 5s to 10s delay transitioning between admin sections / pages. I noticed on my client that the php is not cached locally in any way (to be clear i know nothing about php / coding).

    1. is this normal is there a simple fix to speed up php serving (i have tried all the basics around reducing plugins, increasing memory limits, checking container and docker host disk, cpu, memory constraints, etc)
    2. will moving to an FPM image variant and the configuring my nginx reverse proxy to do a fastcgi_pass solve this?
    3. If the answer to 2 is yes – is it ok for me to just swap out the image tag in my compose / stack files or is it more complicated than that

    Or am i thinking about this is utterly the wrong way?

    • This topic was modified 3 years, 4 months ago by scyto. Reason: change title
    • This topic was modified 3 years, 4 months ago by scyto. Reason: clarity
    • This topic was modified 3 years, 4 months ago by scyto. Reason: clarity
    • This topic was modified 3 years, 4 months ago by scyto.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘PHP slow using official docker image + nginx (move to an fpm image?)’ is closed to new replies.