Tag: nginx

  • Upgrade PHP7.2 to PHP7.4 on Ubuntu running NGINX

    Upgrading PHP versions isn’t exactly an upgrade in the sense that you will end up with both PHP versions installed. Installing PHP7.4 won’t remove 7.2, you will have both and then you can configure your server to use 7.4. First, you’ll need to install PHP7.4 and all the related packages that you used in 7.2.…

  • Change the file upload size in NGINX

    When you have a PHP-based website like WordPress running on NGINX, you would typically change the maximum file upload size in PHP settings e.g., in php.ini file or similar. NGINX web server also has it’s own configuration where you can set the max upload size server-wide. This is set in the .conf file using the…

  • Get a Let’s Encrypt SSL certificate for your domain

    Install a free SSL certificate and serve your site with “https”. Let’s Encrypt provides free SSL certificates and with the help of the installation tool called Certbot, you can easily enable an HTTPS certificate for your website. These instructions are for users running either Nginx or Apache on Ubuntu server and have access to the…