Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Docker PHP Images logo

Docker PHP images

GitHub Workflow Status Source link Authors link Docker Pulls License


Compatibility docker images.

PHP 5.6

Built from the latest official PHP 5.6 Dockerfiles (this commit), with PHP compiled to use MariaDB's libmysqlclient connector. This fixes connections with MySQL 8.0+, which uses a default collation not recognized by the official image's mysqlnd connector (utf8mb4).

Available tags

  • 5.6
  • 5.6-apache
  • 5.6-fpm

Installed extensions

The following modules and extensions have been enabled, in addition to those you can already find in the official PHP image:

  • amqp
  • bcmath
  • bz2
  • calendar
  • event
  • exif
  • gd
  • gettext
  • iconv
  • imagick
  • intl
  • ldap
  • mbstring
  • mcrypt (only PHP ≤ 7.1)
  • memcached
  • mysql (only PHP 5.x)
  • mysqli
  • pcov
  • pdo_mysql
  • pdo_pgsql
  • pgsql
  • redis
  • soap
  • sockets
  • xsl
  • Zend OPcache
  • zip

You will probably not need all this stuff. Even if having some extra extensions loaded ain't a big issue in most cases (especially in a development environment), you will very likely want to checkout this repository, remove unwanted extensions from the Dockerfile, and build your own image — for sometimes removing is easier than adding. 😉

Composer

Composer is installed globally in all images. Please, refer to their documentation for usage hints. Since 2020/11/01 both version 1 and 2 are installed, available through composer1 and composer2 commands respectively (composer in now a symlink to composer2).
Prestissimo (composer plugin) is installed globally in all images, for use with Composer version 1. It's a plugin that downloads packages in parallel to speed up the installation process of Composer packages.

Contributing

If you find an issue, or have a special wish not yet fulfilled, please open an issue on GitHub providing as many details as you can (the more you are specific about your problem, the easier it is for us to fix it).

Pull requests are welcome, too! 😁 Please, run make build and make test before attempting a pull request. Also, it would be nice if you could stick to the best practices for writing Dockerfiles.


License

Docker PHP Images is released under the MIT license.