Nginx Error – 413 Request Entity Too Large
KB ID 0001325 Problem A few weeks ago I did a series on setting up a new WordPress site, shortly after I had some problems uploading my caching plugin (wp-rocket). This was the error I got; 413 Request Entity Too Large nginx/1.10.3 (Ubuntu) Anyway, I fixed the error, and a few days later I got an email from someone with the same problem, so I thought this time I would document the fix. Solution Note: I’m going to raise the...
Ubuntu: Setting Up a WordPress Website with LEMP – Part 2
KB ID 0001319 Problem Back in part one we deployed the server and setup our database, now we are going to setup our nginx web server, and get it to work with PHP. Solution Install NGINX To get the nginx package installed; sudo apt install nginx Now ensure nginx is set to start automatically with the server, and manually start the service. sudo systemctl enable nginx sudo systemctl start nginx Make sure it’s up and running;...
Linux – Enable PHP Short Tags
KB ID 0000886 Problem I have a particular web page that uses PHP short tags. Post migration from my old hosting company to a dedicated VPS, this stopped working. As I know little about Linux, and even less about PHP, I asked the question at Experts Exchange about why It was no longer working. I took no time at all, for someone who knew what they were doing to say, “Your code uses ‘Short tags’, but you do not have...
Apache Web Server – Change the Default Page
KB ID 0000882 Problem Out of the box, Apache expects your website homepage to be called index, on this site the homepage is called home, here’s how to change it. Solution 1. Connect to the server via SSH, (or open a terminal session). The file you need to edit is called httpd.conf. This server is running CentOS, so you should find that file in the /etc/httpd/conf folder. 2. I’m going to edit it with nano. 3. Locate the...