All recent PHP versions for setting up the WP Staging dev and testing environments.
50K+
The docker dev image for WP STAGING.
Docker source: https://hub.docker.com/repository/docker/wpstaging/php
The php-8.6-dev image is built from php-src master and includes unreleased fixes not yet available in any stable PHP version. Unlike other images that install PHP from the Ondrej PPA, this one compiles PHP from source.
PHP 8.6 (php-src master) includes a fix for SplFileObject iterator desync bugs (php/php-src#21679) that affects our AbstractFileObject class. This image lets us test against the fixed PHP before it ships in a release.
The image pins to whatever php-src master looks like at build time. To pick up the latest changes:
# Rebuild (--no-cache forces fresh git clone)
make build-8.6-dev
# Push to Docker Hub
docker push wpstaging/php:8.6-dev
Rebuild whenever php-src master has relevant changes you need to test against. The --no-cache flag in the make target ensures git clone fetches the latest code.
docker run --rm wpstaging/php:8.6-dev php -v
docker run --rm wpstaging/php:8.6-dev php -r 'echo PHP_VERSION . "\n";'
Once PHP 8.6 has stable release packages available in the Ondrej PPA, create a standard php-8.6 image (like the other versions) and deprecate this -dev image.
Content type
Image
Digest
Size
143.3 MB
Last updated
almost 5 years ago
docker pull wpstaging/php