Install PDO_OCI
Download this source of php http://us1.php.net/get/php-7.0.27.tar.bz2/from/a/mirror copy pdo_oci into tmp $ sudo cp -r php-7.0.27/ext/pdo_oci /tmp $ sudo cd /tmp/pdo_oci run next command: enter code here $ sudo phpize $ sudo make
| server { | |
| server_name example.com www.example.com; | |
| root /var/www/example.com/web; | |
| index index.php index.htm index.html; | |
| # Prevent PHP scripts from being executed inside the uploads folder. | |
| location ~* /app/uploads/.*.php$ { | |
| deny all; | |
| } |
| FROM phpdockerio/php73-fpm:latest | |
| # Fix debconf warnings upon build | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| # Install selected extensions and other stuff | |
| RUN curl --silent --show-error --fail --location \ | |
| --header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \ | |
| "https://caddyserver.com/download/linux/amd64?plugins=http.expires,http.realip&license=personal" \ | |
| | tar --no-same-owner -C /usr/bin/ -xz caddy \ |
Install PDO_OCI
Download this source of php http://us1.php.net/get/php-7.0.27.tar.bz2/from/a/mirror copy pdo_oci into tmp $ sudo cp -r php-7.0.27/ext/pdo_oci /tmp $ sudo cd /tmp/pdo_oci run next command: enter code here $ sudo phpize $ sudo make