This repo have a Dockerfile to create a cotainer with PHP with PDO_OCI and OCI8
This on github: https://github.com/hudsonventura/PHPOnDocker_with_PDO_OCI
This on DockerHub: https://hub.docker.com/repository/docker/hudsonventura/phpondocker_with_pdo_oci
If you want just up contaners with PHP FPM with OCI and PDO_OCI and Nginx just do:
sudo docker compose up
sudo docker compose down
sudo docker compose up --build
cd configs/cert/
openssl req -x509 -sha256 -newkey rsa:2048 -keyout certificate.key -out certificate.crt -days 1024 -nodes
And uncomment the below lines on file configs/app.vhost
#listen 443 ssl;
#ssl_certificate /etc/nginx/cert/certificate.crt;
#ssl_certificate_key /etc/nginx/cert/certificate.key;
At this moment you will receive an error on certificate, but the SSL is able. If you want to add a valid certificate, just replace the key a crt file at configs/cert

Content type
Image
Digest
sha256:347098d72…
Size
366.9 MB
Last updated
almost 4 years ago
docker pull hudsonventura/phpondocker_with_pdo_oci:7.2.2