official php74 image integreted with composer
1.1K
composer 的 PHP 官方镜像,为 Laravel 开发和部署设计php74-dev 分支,额外的区别在于安装了 node-v14php:7.4.10-fpmbcmath bz2 calendar ctype curl dba dom enchant exif ffi fileinfo filter ftp gd gettext gmp hash iconv imap intl json ldap mbstring mysqli oci8 odbc opcache pcntl pdo pdo_dblib pdo_firebird pdo_mysql pdo_oci pdo_odbc pdo_pgsql pdo_sqlite pgsql phar posix pspell readline reflection session shmop simplexml snmp soap sockets sodium spl standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zend_test zip
php -i 查看docker-php-ext-install [-jN] [--ini-name file.ini] ext-name [ext-name ...]
laravel 中需要,但是 非默认 开启的扩展如下:
9000: php-fpm 默认开启的端口,通常需要暴露到宿主机9001: xdebug 绑定的端口,可以在 php.ini 文件中修改upload_max_filesize = 50M
post_max_size = 50M
memory_limit = -1
max_execution_time = 180
[XDebug]
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.remote_handler="dbgp"
xdebug.client_host=php72
xdebug.client_port=9001
Content type
Image
Digest
Size
167.1 MB
Last updated
about 6 years ago
docker pull qwelz/php-composer