Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/silencesys/docker-php-oci8

My PHP with OCI8 extension docker image.
https://github.com/silencesys/docker-php-oci8

docker docker-image docker-images oci8 oci8-php-oracle php php-image php-oci8

Last synced: 2 months ago
JSON representation

My PHP with OCI8 extension docker image.

Awesome Lists containing this project

README

        




PHP+OCI8 logo





This is my custom docker image based on official php-fpm image with installed oci8 and few other extensions.




## Tags
- [`latest`, `release-1.5`, `release-1.4`, `release-1.3`, `1.2`, `1.1` _(Dockerfile)_](https://github.com/silencesys/docker-php-oci8/blob/master/Dockerfile)

## Extensions installed within this image
This image brings a few more extensions than the default PHP-fpm one.
- zip
- gdo
- opcache
- pdo_mysql
- tokenizer
- bcmath
- pcntl
- oci8

## How to use this image
You can freely use this image as a base for your own docker images. Simply copy the following lines into your Dockerfile:
```Docker
FROM silencesys/php-oci8:latest

COPY . /usr/src/myapp
WORKDIR /usr/src/myapp

CMD ["php-fpm"]
EXPOSE 9000
```


### Custom configuration
To modify php configuration.
```Docker
COPY ./config/your_config.ini /usr/local/etc/php/conf.d/custom.ini
COPY ./config/pool.d/your_pool.conf /usr/local/etc/php-fpm.d/costum.conf
```

You also have the possibility to modify the default php settings as is described in [php docs](https://docs.docker.com/samples/library/php/).

## License
This image on it's own does not have any license, but take a look at licences of other software that is included.

- [PHP license](https://php.net/license/)
- [OCI license](https://www.oracle.com/technetwork/topics/linuxsoft-082809.html)

As with all Docker images, these also likely contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.