Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

aptible/docker-php

Repository files navigation

aptible/php

Build Status

Aptible PHP Base Image

This image was originally created to make it easier to connect to MySQL databases hosted on Aptible Deploy but is no longer necessary. We do not recommend that customers use this image, and instead recommend the Official Docker PHP image: https://hub.docker.com/_/php

Please see our FAQ for further information.

Installation and Usage

docker pull quay.io/aptible/php
docker run quay.io/aptible/php [options]

PHP Patch

For 5.6, this image carries a PHP patch to allow disabling SSL verification for MySQL PDO connections via the PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT attribute (set it to false to disable verification; it otherwise defaults to true). For other versions, this patch was incorporated by the PHP team in mainline PHP, so those images don't carry additional patches.

This is a fix for: https://bugs.php.net/bug.php?id=71003

Make sure you understand the implications before using this attribute. If you're deploying on Aptible, feel free to reach out to support.

Available Tags

  • 7.2
  • 7.1
  • 7.0
  • 5.6
  • latest: currently 7.2 (not recommended: this tag changes over time)

Copyright and License

MIT License, see LICENSE for details.

Copyright (c) 2019 Aptible and contributors.