All Projects → wpengine → php-docker

wpengine / php-docker

Licence: other
RD - PHP docker base images

Programming Languages

Roff
2310 projects
Makefile
30231 projects

Projects that are alternatives of or similar to php-docker

lunasec
LunaSec - Dependency Security Scanner that automatically notifies you about vulnerabilities like Log4Shell or node-ipc in your Pull Requests and Builds. Protect yourself in 30 seconds with the LunaTrace GitHub App: https://github.com/marketplace/lunatrace-by-lunasec/
Stars: ✭ 1,261 (+2641.3%)
Mutual labels:  soc2
headless-docs
WP Engine Headless Documentation for Developers
Stars: ✭ 34 (-26.09%)
Mutual labels:  rd
CodeAndQuestsEveryDay
Regular research on the Quest for developers.
Stars: ✭ 27 (-41.3%)
Mutual labels:  rd

🚨🚨This repository is deprecated. https://github.com/wpengine/apache-docker is the official source for the WP Engine PHP Docker images 🚨🚨

PHP Docker Images

These docker images provide each major version of PHP (currently 5.6, 7.0, 7.1 and 7.2) with support for various extensions required for WordPress and the WP Engine Platform.

Images are based on the precompiled php-fpm debian images available at https://hub.docker.com/_/php/.

Updates & Prebuilt Images

These images are configured as Automated builds on Docker Cloud.

Running

By default, this will run php-fpm and listen for FastCGI connections on port 9000.

docker run -d -p 9000:9000 wpengine/php:7.0

Building

make build-7.0

Configuration Files

Before using any of these images in production, be sure to override the default configs found in the following locations. The default values are intended for development and testing, not production deployment.

php-fpm

/usr/local/etc/php-fpm.conf
/usr/local/etc/php-fpm.d/www.conf

php.ini

/usr/local/etc/php/php.ini

Extensions

/usr/local/etc/php/conf.d/{extension_name}.ini

New Relic

As part of this container we install latest version of the New Relic php agent. The New Relic daemon should be run in a separate container and the daemon socket should be mounted on /run/newrelic/newrelic.sock. The socket location can be changed by setting newrelic.daemon.port.

RUN echo "newrelic.daemon.port=/run/newrelic/newrelic.sock" >> /usr/local/etc/php/conf.d/newrelic.ini
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].