davidgaya / docker-apache-php-oci

Docker image to run Apache PHP applications with Oracle InstantClient OCI driver
Other
27 stars 20 forks source link

for fails to install due to php version #1

Open shantanuo opened 8 years ago

shantanuo commented 8 years ago

I forked your code on github and tried to build automated image on docker. But I got an error...

pecl/oci8 requires PHP (version >= 7.0.0), installed version is 5.5.9-1ubuntu4.16

How come your automated build is working and my exact same fork does not?

davidgaya commented 8 years ago

Because two years have passed and pecl has changed, and when building the image you download php7 version of oci8. This Docker image is deprecated in many aspects, Ubuntu has a new LTS, tutum doesn't exist anymore, php7 is released. I would start fresh FROM php:5-apache if you want to stay in php5 (not recomended) or FROM php:7

jacricelli commented 8 years ago

@shantanuo You need to use OCI8 v2.0.x (PHP 5.5 / 5.6)

RUN echo 'instantclient,/usr/local/instantclient' | pecl install oci8-2.0.11