Skip to content

Update configuration File (php.ini) Path #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 6, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/`
Expand Down
4 changes: 2 additions & 2 deletions php/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's one more in this paragraph that you appear to have missed when you copied the change over. 👍


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/`
Expand Down