This Docker-Image is based on Alpine Linux 3.13 with Nginx 1.18.0 and PHP-FPM (PHP 7.4.15 or 8.0.2). The different available tags offer a optimized configuration for some PHP-based applications like Nextcloud or Roundcube. Images are available for amd64 and arm (arm32v7, armhf) architectures.
latest, general-amd64general-armTo host your ZF1-based project you have to use ZF1 with compatibility changes for PHP7, otherwise you can't run ZF1 on PHP7.
zf1-amd64zf1-armFAKE_HTTPS: possible values on or off, default on. Is used to tell the aplication it's running on https (-> $_SERVER['HTTPS'])DOCROOT_SUFFIX (on general purpose image only): By default the docroot is set to /application/src. If required, the docroot path can be extended to /applicaiton/src/$DOCROOT_SUFFIXThe docroot must be mounted to /application/src.
If it is required to overwrite PHP settings, create a custom configuration file (php.ini style) which contains the required configurations and mount it with docker run to /etc/php7/conf.d/zzz-override.ini.
To exclude PHP-files from being cached by PHP opcache.
For example: when you are using Nextcloud's occ (see Nextcloud OCC) it could happen that your Nextcloud config/config.php is modified, for example if you turning maintenance mode on/off with occ maintenance:mode --[on|off]. But if config/config.php is in Opcache, the maintenance mode setting wouldn't have any effect on your Nextcloud instance until your restart/reload the PHP-FPM (or reset the Opcache through other ways).
The extension is installed, but not active. Active it for development purposes by adding a 99_xdebug.ini to /etc/php7/conf.d with your Xdebug-config, but at least with zend_extension = xdebug.so.
Content type
Image
Digest
Size
61.7 MB
Last updated
about 6 years ago
docker pull rasmartin/nginx-phpfpm