Docker Image for PHP Environment
Base Docker Image
When you want to use PHP, run below commands to install PHP that you want.
 Confirm installable versions by PHPBrew.
 Install PHP from PHPBrew.
# Example: # # Install PHP 5.6.19 # phpbrew install 5.6.19
 Create a virtual environment for PHP using virtPHP.
# Example: # # Create a virtual environment named 'php56env' with PHP 5.6.19 # when you logged in with the user named 'centos' # virtphp create --php-bin-dir=/home/centos/.phpbrew/php/php-5.6.19/bin php56env
Download automated build from public Docker Hub Registry:
docker pull repositoryjp/php
docker run -i -t -d -P repositoryjp/php
You can connect this container with below user.
- login_name: php
- password: (no password)
- port: (random number generated by docker or you are specified.)
See the file LICENSE.
This Dockerfile was designed and developed by Shinya Kinoshita (From REPOSITORY) in 2016.