Skip to content

Commit 93560d3

Browse files
committed
Merge pull request #149 from shafan/patch-1
Update configuration File (php.ini) Path
2 parents bc01719 + 3482c91 commit 93560d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

php/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ Where `src/` is the directory containing all your php code. Then, run the comman
7373
docker run -it --rm --name my-running-app my-php-app
7474

7575
We recommend that you add a custom `php.ini` configuration. `COPY` it into
76-
`/usr/local/lib` by adding one more line to the Dockerfile above and running the
76+
`/usr/local/etc/php` by adding one more line to the Dockerfile above and running the
7777
same commands to build and run:
7878

7979
FROM php:5.6-apache
80-
COPY config/php.ini /usr/local/lib/
80+
COPY config/php.ini /usr/local/etc/php/
8181
COPY src/ /var/www/html/
8282

8383
Where `src/` is the directory containing all your php code and `config/`

php/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ Where `src/` is the directory containing all your php code. Then, run the comman
5555
docker run -it --rm --name my-running-app my-php-app
5656

5757
We recommend that you add a custom `php.ini` configuration. `COPY` it into
58-
`/usr/local/lib` by adding one more line to the Dockerfile above and running the
58+
`/usr/local/etc/php` by adding one more line to the Dockerfile above and running the
5959
same commands to build and run:
6060

6161
FROM php:5.6-apache
62-
COPY config/php.ini /usr/local/lib/
62+
COPY config/php.ini /usr/local/etc/php
6363
COPY src/ /var/www/html/
6464

6565
Where `src/` is the directory containing all your php code and `config/`

0 commit comments

Comments
 (0)