PHP is developed under Nginx Docker official-customizing the configuration & adding some Extensions
357
Hostvn.net Docker PHP-FPM is developed based on the PHP Docker official, not only inherits the advantages of PHP Docker official but also helps to customize the configuration and add some extensions.
Edit in /usr/local/etc/php/conf.d/00-hostvn-custom.ini
exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Install two versions of composer.
docker run --name php -h php --restart always -v /root/web:/var/www/html -d hostvn/hostvn.net-php-fpm
You can refer to how to use here: https://hub.docker.com/_/php
Content type
Image
Digest
Size
249.6 MB
Last updated
over 5 years ago
docker pull hostvn/hostvn.net-php-fpm