php7.4-alpine
usage
FROM hetao29/php7.4-alpine
WORKDIR /data/www/
COPY index.php ./
nginx
- nginx
extension
- imap mbstring ldap redis mcrypt ldap mysql bcmath curl gd iconv openssl imagick zip ftp pcntl sockets exif
- grpc swoole
dir
site root
/data/www/www
php config
/etc/php7/php.ini
php-fpm config
/etc/php7/php-fpm.conf
/etc/php7/php-fpm.d/www.conf
nginx config
/etc/nginx/nginx.conf
/etc/nginx/sites-enabled/www