Skip to content

Commit d74b521

Browse files
authored
📝 add readme
1 parent 8140d60 commit d74b521

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# PHP+OCI8 Docker image
2+
3+
This is my custom docker image based on official php-fpm image with installed oci8 and few other extensions.
4+
5+
## Available extensions
6+
- zip
7+
- gdo
8+
- opcache
9+
- pdo_mysql
10+
- tokenizer
11+
- bcmath
12+
- pcntl
13+
- oci8
14+
15+
## How to use this image
16+
You can freely use this image as a base for your own docker images. Simply put to your Dockerfile following line:
17+
```Docker
18+
FROM silencesys/php-oci8:latest
19+
```
20+
21+
To modify php configuration.
22+
```Docker
23+
COPY ./config/your_config.ini /usr/local/etc/php/conf.d/custom.ini
24+
COPY ./config/pool.d/your_pool.conf /usr/local/etc/php-fpm.d/costum.conf
25+
```
26+
27+
You have also ability to modify default php settings as is described [there](https://docs.docker.com/samples/library/php/).

0 commit comments

Comments
 (0)