Skip to content
Advertisement

Tag: nginx

Symfony 5.x – An error occurred while loading the web debug toolbar

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

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

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

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

Advertisement