Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ FROM serversideup/php:8.5-cli
USER root

# Install any PHP extension easily
RUN install-php-extensions redis imagick mongodb
RUN install-php-extensions bcmath imagick mongodb

# Switch back to unprivileged user
USER www-data
Expand Down Expand Up @@ -322,4 +322,4 @@ We're here to help! Check out these resources:

::tip
Join our community! Star us on [GitHub](https://github.com/serversideup/docker-php) and follow updates.
::
::
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Environment variables give you a ton of flexibility to customize your container
| **PHP INI file** | **Description** |
|-----------------|-----------------|
| **Image Default** <br /><br /> `/usr/local/etc/php/conf.d/serversideup-docker-php.ini` | This is our production-ready PHP ini file that accepts environment variables. You can [review it in greater detail on GitHub](https://github.com/serversideup/docker-php/blob/main/src/common/usr/local/etc/php/conf.d/serversideup-docker-php.ini){target="_blank"}. |
| **Adding your own PHP INI file** <br /><br /> `/usr/local/etc/php/conf.d/*.ini` | If you want to use our defaults, you can simple create a `.ini` file in the `/usr/local/etc/php/conf.d/` directory and it will be loaded automatically. This will be loaded *after* our default ini file, so whatever you set in your own ini file will override the default values. |
| **Adding your own PHP INI file** <br /><br /> `/usr/local/etc/php/conf.d/*.ini` | If you want to use your defaults, you can simple create a `.ini` file in the `/usr/local/etc/php/conf.d/` directory and it will be loaded automatically. This will be loaded *after* our default ini file, so whatever you set in your own ini file will override the default values. |

:u-button{to="/docs/customizing-the-image/changing-common-php-settings" label="Learn more about changing common PHP settings" aria-label="Learn more about changing common PHP settings" size="md" color="primary" variant="outline" trailing-icon="i-lucide-arrow-right" class="font-bold ring ring-inset ring-blue-600 text-blue-600 hover:ring-blue-500 hover:text-blue-500"}

Expand Down