PHP on Alpine Linux for use with Symfony projects (supporting MySQL, MongoDB and MongoDB Legacy)
1.8K
This repository contains various versions of PHP built on Alpine Linux (making them lightweight) for use with Symfony development whether using MySQL, Mongo or the Mongo classic Driver. Please refer to the Docker Hub page for further information
By default, each container will run as root due to no users being created which is not so useful if you plan on using these images for development so, the recommended method of launch is to extend them and configure users as you normally would.
For an example of how these Docker images should be used, take a look at my Github: Symfony tutorial.
As a platform for serving your project:
master (latest) version 7 with support for MySQL
php5 Version 5 with support for MySQL
php5_mongo Version 5 with support for Mongo Driver
php5_mongolegacy Version 5 with support for Mongo legacy Driver
The toolchain is an extension of PHP-FPM designed to be used as a shell. It does not start PHP-FPM but instead launches the Bash shell. Extra features of the Toolchain include:
toolchain To be used with master(latest)
php5_toolchain To be used with php5
php5_mongo_toolchain To be used with php5_mongo
php5_mongolegacy_toolchain To be used with php5_mongolegacy
[ ] Add PHP7 Mongo version
Content type
Image
Digest
Size
25.6 MB
Last updated
over 9 years ago
docker pull symball/php_symfony_alpine