Pārlūkot izejas kodu

Merge pull request #149 from shafan/patch-1

Update configuration File (php.ini) Path
yosifkit 10 gadi atpakaļ
vecāks
revīzija
93560d312d
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 2 2
      php/README.md
  2. 2 2
      php/content.md

+ 2 - 2
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/`

+ 2 - 2
php/content.md

@@ -55,11 +55,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/`