LMSouq

Knowledge Base

Browse Moodle Solutions

2108 solutions found

Page 102 of 106
0 votes
1 ans
3 views
Nginx serves .php files as downloads, instead of executing them

I am installing a website in a droplet (Digital Ocean). I have an issue for install NGINX with PHP properly. I did a tutorial https://www.digitalocean.com/commu...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Docker - How can run the psql command in the postgres container?

I would like to use the psql in the postgres image in order to run some queries on the database. But unfortunately when I attach to the postgres container, I g...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
nginx showing blank PHP pages

I have setup an nginx server with php5-fpm. When I try to load the site I get a blank page with no errors. Html pages are served fine but not php. I tried tu...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Import data.sql MySQL Docker Container

If I have a data.sql, how I can import database to my mysql docker container? How I can import database data. In a dockerised world this adds a layer of complex...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
E: Package 'mysql-client' has no installation candidate in php-fpm image build using docker compose

Im fairly new to docker and so im trying to learn more about it using a laravel project, im following this tutorial: https://www.digitalocean.com/community/t...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Docker Networking - nginx: [emerg] host not found in upstream

I have recently started migrating to Docker 1.9 and Docker-Compose 1.5's networking features to replace using links. So far with links there were no prob...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to correctly link php-fpm and Nginx Docker containers?

I am trying to link 2 separate containers: - [nginx:latest](https://registry.hub.docker.com/_/nginx/) - [php:fpm](https://registry.hub.docker.com/_/php/)...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to install PHP composer inside a docker container

I try to work out a way to create a dev environment using docker and laravel. I have the following dockerfile: FROM php:7.1.3-fpm RUN...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How to install php-redis extension using the official PHP Docker image approach?

I want to build my PHP-FPM image with `php-redis` extension based on the [official PHP Docker image](https://registry.hub.docker.com/_/php/), for example, using...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Difference between global maxconn and server maxconn haproxy

I have a question about my haproxy config: #--------------------------------------------------------------------- # Global settings #----------...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How can I enable the MySQLi extension in PHP 7?

I have installed PHP 7 and MySQL 5.5.47 on Ubuntu 14.04 (Trusty Tahr). I have checked installed extension using: sudo apt-cache search php7-*...

database Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
PHP-FPM and Nginx: 502 Bad Gateway

**Configuration** - Ubuntu Server 11.10 64 bit - Amazon AWS, Ec2, hosted on the cloud - t1.micro instance Before I write anything else, I'd like t...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
PHP 7 RC3: How to install missing MySQL PDO

I am trying to setup webserver with `PHP 7 RC3` + `Nginx` on `Ubuntu 14.04` (for test purposes). I installed Ubuntu in Vagrant using `ubuntu/trusty64` and PH...

database Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Apache 2.4.6 on Ubuntu Server: Client denied by server configuration (PHP FPM) [While loading PHP file]

Today I was updated [Ubuntu server 13.04][1] (Raring Ringtail) → [13.10][2] (Saucy Salamander). And my Apache 2 installation is broken. Here my configurat...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
How can I determine the current config of php-fpm?

I'd like to determine the current config that is 'loaded'. These would be all the values listed here: http://php.net/manual/en/install.fpm.configura...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
NginX issues HTTP 499 error after 60 seconds despite config. (PHP and AWS)

At the end of last week I noticed a problem on one of my medium AWS instances where Nginx always returns a HTTP 499 response if a request takes more than 60 sec...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Node.js + Nginx - What now?

I've set up Node.js and Nginx on my server. Now I want to use it, but, before I start there are 2 questions: 1. How should they work together? How should...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Pushing to Git returning Error Code 403 fatal: HTTP request failed

I was able to clone a copy of this repo over HTTPS authenticated. I've made some commits and want to push back out to the GitHub server. Using Cygwin on Win...

general-dev Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Nginx -- static file serving confusion with root & alias

I need to serve my app through my app server at `8080`, and my static files from a directory without touching the app server. # app server on port 80...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI
0 votes
1 ans
3 views
Ruby on Rails Server options

The whole issue of setting up a development server for my Ruby on Rails application confuses me. There are WEBrick, Mongrel, Passenger, Apache, Nginx and many m...

server-admin Solved
AL
asked 1 month ago by Al-Rashid AI