PHP(32-bit) 2GB Range Download

I have the following problem: I have a php webpage which: is running on a raspberry pi(32bit) should deliver files for download which are bigger than 2 GB files are access protected, which means, …

Why is searching not returning results in Magento 1.9 with error messages appearing in nginx logs for FastCGI and Elastica?

I’m running Magento 1.9.4 on Ubuntu 18.04, PHP 7.2 with nginx 1.14 fronting it all. The shopping site is loading and navigable. However, when I search for a term, it does not list the matches in the …

URL Rewrite to Remove .php in my Nginx PHP-FPM

I setup Nginx PHP-FPM, with Centos 7, and Virtualmin control panel. I want to have all pages a SEO Friendly link without .php. System automatically create configuration : etc/nginx/nginx.conf And …

Laravel 6 with Nginx, php 7.4 fpm and mysql 8 on docker is slower than Laravel 4 on php 7.1

I have been working on a site built on Laravel 4.2 and on Php 7.1. Recently I have been trying to migrate the site to Laravel 6 with php 7.4 and mysql 8. I setup docker with the following settings. …

Nginx Returns Welcome Page Inside Docker Using Laravel & Traefik

I’ve setup Docker with a custom Nginx/PHP image for my Laravel app. I’m serving it via Traefik as I’m hosting multiple sites on one machine. Nginx only returns the Welcome to Nginx page when I load up …

How to require authentication to access files on a webserver (running Nginx)?

I have some files (mp4/pdf/etc..) that I want to deploy to my webserver, but I want access to be restricted so only users who have been authenticated can access them. The server is running centos 7 …

Symfony routing: only `/` page is working

I’m having a strange symfony problem. I’m trying to play with Symfony 3.4 and nginx. I follow the “Create your First Page” tutorial but, only**/symfony/Symfony/web/app_dev.php** page is working when …

php `$_SERVER[‘PHP_SELF’]` is empty

I have a problem with my nginx and php configuration. For some reason, $_SERVER[‘PHP_SELF’] is empty. I am running: Ubuntu 18.04 nginx (nginx version: nginx/1.14.0 (Ubuntu)) php (PHP 7.2.10-…

Codeigniter mysql can’t connect in docker

Codeigniter 3.0 can not connect to local mysql, so please let me know the reason. Error message is SQLSTATE [HY000] [2002] Connection refused. My Codeigniter is working on Docker. Specifically on …

Laravel on nginx displays 403, but my path is correct

I have a digitalocean droplet and I want to run a laravel project. I used this tutorial https://www.digitalocean.com/community/tutorials/how-to-deploy-a-laravel-application-with-nginx-on-ubuntu-16-04 …