Skip to content

Commit 6d56992

Browse files
authored
Update README.md for PHP 8.0
1 parent 0843601 commit 6d56992

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[![](https://images.microbadger.com/badges/version/skilldlabs/php.svg)](http://microbadger.com/images/skilldlabs/php "Get your own version badge on microbadger.com") https://hub.docker.com/r/skilldlabs/php/
33

4-
Use `run.sh` to fetch Drupal 8.1-dev and start containers.
4+
Use `run.sh` to fetch Drupal 9.3.dev and start containers.
55

66
Use `docker-compose stop` to stop containers and `docker-compose rm` to clean-up.
77

@@ -20,14 +20,14 @@ Local `db` directory stores mysql database files and `drupal` hold core.
2020

2121
If you want to add some packages you should:
2222

23-
Example of php7-pdo_pgsql
23+
Example of php8-pdo_pgsql
2424

2525
1) Create new container folder
2626
with own Dockerfile and extend this container from base one.
2727

2828
```
29-
FROM skilldlabs/php:7
30-
RUN apk add --no-cache php7-pdo_pgsql
29+
FROM skilldlabs/php:8
30+
RUN apk add --no-cache php8-pdo_pgsql
3131
```
3232

3333
2) Change build reference in docker-compose.yml file
@@ -48,8 +48,8 @@ Example usage:
4848
version: "2"
4949
5050
php:
51-
image: skilldlabs/php:7-fpm
51+
image: skilldlabs/php:8-fpm
5252
volumes:
5353
- ./docroot:/var/www/html
54-
command: php-fpm7 -F -d zend_extension=xdebug.so
54+
command: php-fpm8 -F -d zend_extension=xdebug.so
5555
```

0 commit comments

Comments
 (0)