While working on my new site screenart.media I encountered a strange problem. I was wondering about the Google Search Console complaining that the robots.txt is throwing a 404. But I could see the correct content in the browser! The following was kind of unexpected.
After moving my WordPress site from a LAMP to a LEMP stack (replacing Apache with Nginx), I wanted to upload some new images – but I couldn’t. I either got a “HTTP Error” or “413 Request Entity Too Large“. So I started my research.
Currently I’m uploading about 16GB of images into my Google Drive account. At first I tried to copy them into my local drive folder in order to let the Files.app synchronize everything automatically. Only to discover that the process takes decades to finish and is even having problems while uploading. Lucky I was, the solution is simple.
Yesterday I wanted to install my project framework on a VM at DO. Basically everything went fine – until I tried to actually run a PHP script. Nginx gave me this:
==> …/var/log/nginx/magento.error.log <== 2015/11/25 07:17:36 [error] 8006#0: *1 FastCGI sent in stderr: "Access to the script '…/magento' has been denied (see security.limit_extensions)" while reading response header from upstream, client: x.x.x.x, server: …, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://unix:…/var/run/php5-fpm.sock:", host: "…"