docker-php-apache | A Docker image with PHP , Apache | Continuous Deployment library
kandi X-RAY | docker-php-apache Summary
kandi X-RAY | docker-php-apache Summary
This is a Docker image with PHP, Composer, and Apache (running in Foreground) serving from public/ folder. Ideal for Laravel, Lumen and other modern php apps.
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-php-apache
docker-php-apache Key Features
docker-php-apache Examples and Code Snippets
Community Discussions
Trending Discussions on docker-php-apache
QUESTION
I know a very similar answer has already been dealt with here BUT in my case I am using an already made docker image (https://hub.docker.com/r/prestashop/prestashop/) and I don't think I can modify the Dockerfile
I think I need to execute this command echo "ServerName localhost" >> /etc/apache2/apache2.conf
but I don't know how, idealy I would like to gather all the configurations in the docker-compose.yml file, here it is:
ANSWER
Answered 2021-Feb-27 at 11:19You can modify the container by creating the following Dockerfile
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-php-apache
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