akilli/base based php image
10K+
akilli/phpakilli/base based php image.
This images comes with a custom configuration file at /etc/php/conf.d/90_php.ini that is pre-configured for production, amongst others, with
opcache.jit = 1255,opcache.preload = /app/preload.php,opcache.validate_timestamps = 0,opcache.revalidate_freq = 0 andIf you use these default settings, you must provide a preload script at /app/preload.php and be aware of the fact that changes in PHP scripts will only have effect after restarting the server which is perfect for containerized production environment.
Some of these settings are surely not suitable for development. If you set the environment variable DEV=1, the init/10-php script will enable the dev configuration file that will effectively disable the session.cookie_secure restriction and opcache and also auto-prepend the preload script at /app/preload.php instead.
Apart from that, there are several possibilities to adjust these default settings. You could p.e.
/etc/php/conf.d/90_php.ini with your own ini file,/etc/php/conf.d/99-zzz.ini to just override selected values,.user.ini for certain settings,You can use the example compose.yml and compose.override.yml as a starting point for your configuration.
Content type
Image
Digest
sha256:a0de8c125…
Size
49.3 MB
Last updated
about 1 month ago
docker pull akilli/php