Skip to content
On this page

PHP

Base docker image: webdevops/php-nginx or webdevops/php-apache

PHP build pack contains almost every module necessary for your applications.

By default, Nginx is used to serve your application, but if you have a .htaccess file in the root directory of your repository, apache is used to take advantage of the customs rules defined.

Composer will install all dependencies if composer.json is detected.

You can customize this image with environment variables, see the docs.

Versions supported:

  • 8.0
  • 7.4
  • 7.3
  • 7.2
  • 7.1
  • 7.0
  • 5.6

TIP

If you would like to have other, please consider open an issue on GitHub.

Released under the Apache License.