docker-apache-php7 | Docker image with apache | Continuous Deployment library
kandi X-RAY | docker-apache-php7 Summary
kandi X-RAY | docker-apache-php7 Summary
Docker image with apache 2.4, PHP 7, configurable PHP error_reporting setting
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-apache-php7
docker-apache-php7 Key Features
docker-apache-php7 Examples and Code Snippets
Community Discussions
Trending Discussions on docker-apache-php7
QUESTION
Im trying to setup docker-container: Apache/PHP7/Mysql 5.7 via docker-compose up on Ubuntu 16.04.
The Problem is that i get no database-connection from the index.php (localhost:8080). If i try to connect it says: "Connection failed: Connection refused".
apache-php7 dockerfile: https://github.com/nimmis/docker-apache-php7/blob/master/Dockerfile
The Folders are:
apache-php7 (including Dockerfile)
html (including index.php)
mysql (mysql data)
docker-compose.yml:
...ANSWER
Answered 2017-Oct-11 at 17:18its solved. First i get the name/id of the running mysql Container via
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-apache-php7
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page