Skip to content

Commit 2ba3060

Browse files
committed
update the readme: switch to php 5.5
1 parent 10af217 commit 2ba3060

1 file changed

Lines changed: 15 additions & 17 deletions

File tree

README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,14 @@ docker-compose up nginx mysql redis
8888
- Clean and well structured Dockerfiles (`dockerfile`).
8989
- Latest version of the Docker Compose file (`docker-compose`).
9090
- Everything is visible and editable.
91+
- Fast Images Builds.
9192
- More to come every week..
9293

9394

9495
<a name="Supported-Containers"></a>
9596
### Supported Containers
9697

97-
- PHP-FPM (7.0 - 5.6 - 5.5)
98+
- PHP-FPM
9899
- NGINX
99100
- HHVM
100101
- MySQL
@@ -107,7 +108,7 @@ docker-compose up nginx mysql redis
107108
- Caddy
108109
- Beanstalkd
109110
- Beanstalkd Console
110-
- Workspace (contains: Composer, PHP7-CLI, Laravel Installer, Git, Node, Gulp, Bower, SQLite, Vim, Nano, cURL and much more)
111+
- Workspace (contains: Composer, PHP7-CLI, Laravel Installer, Git, Node, Gulp, SQLite, Vim, Nano, cURL...)
111112

112113

113114
>If you can't find your container, build it yourself and add it to this list. Contributions are welcomed :)
@@ -718,30 +719,27 @@ php-fpm:
718719
docker-compose build php
719720
```
720721

722+
> For more details about the PHP base image, visit the [official PHP docker images](https://hub.docker.com/_/php/).
723+
724+
721725
#### B) Switch from PHP `7.0` or `5.6` to PHP `5.5`
722726

723-
1 - Follow the steps of (Switch from PHP `7.0` to PHP `5.6`) except the last one "rebuilding container".
727+
We do not natively support PHP 5.5 anymore, but you can get it in few steps:
724728

725-
2 - Open the `docker-compose.yml` again and make sure you are using `Dockerfile-56` like this:
729+
1 - Clone `https://github.com/LaraDock/php-fpm`.
726730

727-
```txt
728-
php-fpm:
729-
build:
730-
context: ./php-fpm
731-
dockerfile: Dockerfile-56
732-
```
731+
3 - Rename `Dockerfile-56` to `Dockerfile-55`.
733732

734-
3 - Open `php-fpm/Dockerfile-56` file and on the first line replace the PHP version from (`FROM php:5.6-fpm`) to (`FROM php:5.5-fpm`).
733+
3 - Edit the file `FROM php:5.6-fpm` to `FROM php:5.5-fpm`.
735734

736-
4 - Now you can rebuild the container
735+
4 - Build an image from `Dockerfile-55`.
736+
737+
5 - Open the `docker-compose.yml` file.
738+
739+
6 - Point `php-fpm` to your `Dockerfile-55` file.
737740

738-
```bash
739-
docker-compose build php
740-
```
741741

742-
<br>
743742

744-
For more details about the PHP base image, visit the [official PHP docker images](https://hub.docker.com/_/php/).
745743

746744

747745

0 commit comments

Comments
 (0)