Php: How do we install WorPress, Mysql and PHP Zip Archiving into Docker?

Created on 17 Oct 2017  路  2Comments  路  Source: docker-library/php

I need WordPress, MySQL, and PHP Zip Archiving enabled for a Docker project? What is the most recommended way in getting all 3 up?

Most helpful comment

I would recommend running WordPress and MySQL in separate containers (as seen in the example stack.yml on https://hub.docker.com/_/wordpress/), and if ZipArchive is required, you will need to build a new image FROM wordpress which installs the necessary extensions. See https://github.com/docker-library/wordpress/issues/213 (which you have also commented on) for more details/suggestions around that.

In the future, these sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

All 2 comments

I would recommend running WordPress and MySQL in separate containers (as seen in the example stack.yml on https://hub.docker.com/_/wordpress/), and if ZipArchive is required, you will need to build a new image FROM wordpress which installs the necessary extensions. See https://github.com/docker-library/wordpress/issues/213 (which you have also commented on) for more details/suggestions around that.

In the future, these sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

Many many thanks on the details and where to post this question as well. I know have these locations marked for future use on QnA.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PMExtra picture PMExtra  路  3Comments

nojimage picture nojimage  路  3Comments

igodorogea picture igodorogea  路  3Comments

solocommand picture solocommand  路  3Comments

cordoval picture cordoval  路  3Comments