Fix client intended to send too large body: xyz bytes in Nginx

last updated in Categories , ,

I am getting the following error when trying to upload file using Nginx web server:
    2018/01/21 12:19:23 [error] 375#375: *25019 client intended to send too large body: 3881539 bytes, client:, server:, request: “POST /cms/wp-admin/async-upload.php HTTP/2.0”, host: “”, referrer: “”
How do I fix this problem and allow file uploads upto 10MB?

How to install PHP 7.2 on CentOS 7/RHEL 7

last updated in Categories , , ,

How do I Install PHP 7.2 on CentOS 7 server? How can I setup and install PHP 7.2 on RHEL 7 server along with Nginx web server? How do I configure PHP-fpm version 7.2 with Nginx server running on a CentOS / Red Hat Enterprise Linux version 7?