Sign inSign up

silencesys/php-oci8

By silencesys

•Updated 9 months ago

PHP-fpm image based on official PHP image with installed oci8 and few other extensions.

Image
2

2.4K

silencesys/php-oci8 repository overview


PHP+OCI8 logo


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



⁠Tags

⁠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:

FROM silencesys/php-oci8:latest

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

CMD ["php-fpm"]
EXPOSE 9000

⁠Custom configuration

To modify php configuration.

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⁠.

⁠License

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

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.

Tag summary

Content type

Image

Digest

sha256:6427e39c4…

Size

248.2 MB

Last updated

9 months ago

docker pull silencesys/php-oci8