From afd2dd2c096881f6764fd3c33819abe19629d22f Mon Sep 17 00:00:00 2001 From: Pierre Galvez Date: Wed, 4 Feb 2015 11:12:39 +0100 Subject: [PATCH 1/3] Update configuration File (php.ini) Path The configuration File Path is not /usr/local/bin but /usr/local/etc/php --- php/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/README.md b/php/README.md index 0d2665ea4..75e86f293 100644 --- a/php/README.md +++ b/php/README.md @@ -73,11 +73,11 @@ Where `src/` is the directory containing all your php code. Then, run the comman docker run -it --rm --name my-running-app my-php-app We recommend that you add a custom `php.ini` configuration. `COPY` it into -`/usr/local/lib` by adding one more line to the Dockerfile above and running the +`/usr/local/etc/php` by adding one more line to the Dockerfile above and running the same commands to build and run: FROM php:5.6-apache - COPY config/php.ini /usr/local/lib/ + COPY config/php.ini /usr/local/etc/php/ COPY src/ /var/www/html/ Where `src/` is the directory containing all your php code and `config/` From f0ce20d51af888f30e8e3c695fdab19062ad9429 Mon Sep 17 00:00:00 2001 From: Pierre Galvez Date: Wed, 4 Feb 2015 23:41:49 +0100 Subject: [PATCH 2/3] Update configuration File (php.ini) Path --- php/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/content.md b/php/content.md index a4947408d..49401e631 100644 --- a/php/content.md +++ b/php/content.md @@ -59,7 +59,7 @@ We recommend that you add a custom `php.ini` configuration. `COPY` it into same commands to build and run: FROM php:5.6-apache - COPY config/php.ini /usr/local/lib/ + COPY config/php.ini /usr/local/etc/php COPY src/ /var/www/html/ Where `src/` is the directory containing all your php code and `config/` From 3482c911ceabdc1d4f77eb840d00b49f91be85da Mon Sep 17 00:00:00 2001 From: Pierre Galvez Date: Fri, 6 Feb 2015 21:35:35 +0100 Subject: [PATCH 3/3] Update content.md --- php/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/content.md b/php/content.md index 49401e631..710ece161 100644 --- a/php/content.md +++ b/php/content.md @@ -55,7 +55,7 @@ Where `src/` is the directory containing all your php code. Then, run the comman docker run -it --rm --name my-running-app my-php-app We recommend that you add a custom `php.ini` configuration. `COPY` it into -`/usr/local/lib` by adding one more line to the Dockerfile above and running the +`/usr/local/etc/php` by adding one more line to the Dockerfile above and running the same commands to build and run: FROM php:5.6-apache