Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
add brief section how to configure php.ini settings
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed May 28, 2019
1 parent 9f8ba39 commit 9c3858e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,23 @@ apk add --no-cache php7.3-dev gcc g++
pecl install {extension-name}
```

### PHP ini settings

To configure extra [php.ini](https://www.php.net/manual/en/ini.php): settings,
create application specific `php.ini` and copy the file into docker image:


```ini
# php.ini
memory_limit = 512M
```

```Dockerfile
FROM phpearth/php:7.3-nginx

COPY php.ini $PHP_INI_DIR/conf.d/my-app.ini
```

#### Missing extension?

In case you'd need an additional extension in the PHP.earth repository, [open an issue](https://github.com/phpearth/docker-php/issues).
Expand Down

0 comments on commit 9c3858e

Please sign in to comment.