I’m working with Symfony 5.X, it’s a fresh install on docker with the image “bitnami/symfony”. I use too “bitnami/nginx” and “bitnami/php-fpm”. All work good except the web profiler toolbar. I passed the 2 last days on Google searching for a solution but nothing work. I can access the url /_profiler/ but if I click on a token to view some
Tag: nginx
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-…
Magento: Class ‘DOMDocument’ not found
I’m installing Magento on Amazons AWS Lightsail system. I’ve installed NGINX, MySQL & PHP But I keep getting this error: Installed modules: PHP Info Available: http://13.239.86.161/info.php Answer You need to install the php-dom and php-xml packages, however it looks like from you PHP info. that you have done so. If you are on Debian or Ubuntu you can make sure
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 …
Upgrade PHP on AWS Linux
I have an AWS server running a website with NGINX and PHP. I originally installed these using the following: sudo yum install -y nginx php-fpm The version of PHP that is installed is 5.3.29 which but I need at least 5.4 to run a payments plug-in. All the info online indicates a PHP upgrade actually involves a reinstall. So I
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 …
NGINX server configuration for Codeigniter
/etc/nginx/conf.d/default.conf my codeigniter folder is ‘ci’ which is located in /var/www/html/ci what configuration do I need to work url rewriting?… Answer I didn’t want to change the current document root (/var/www/html) since my ‘ci’ folder is located at /var/www/html/ci. So instead, I created a new location block in /etc/nginx/conf.d/default.conf: Thanks to Mert Öksüz for suggesting to use try_files $uri $uri/
Php file gets downloaded instead of executing on OSX with Nginx server
Hi I have followed https://www.sylvaindurand.org/setting-up-a-nginx-web-server-on-macos/ to install nginx and php. I am using OSX El-capitan, php-fpm and nginx versions are nginx 1.12.1 and php7 My server is working as I am able to open html file stored at document root in browser but when I try to open php file stored at same location it gets downloaded instead of executing