# managed-php **Repository Path**: docker-image/managed-php ## Basic Information - **Project Name**: managed-php - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause-Clear - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-23 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PHP ## 1. 版本选择 ### 1.1. 7/fpm/alpine 生产环境推荐使用版本 ### 1.2. 7/fpm/stretch Debian 基础镜像,支持更多扩展 ## 2. 扩展列表 ### 2.1. 公共 #### 2.1.1. PHP 扩展(docker-php-ext-install) * bcmath * calendar * exif * gd * pdo_mysql * zip #### 2.1.2. PECL * apcu * redis ### 2.2. alpine 独有 #### 2.2.1. PHP 扩展(docker-php-ext-install) 无 #### 2.2.2. PECL 无 #### 2.2.3. apk * freetype * libpng * libzip ### 2.3. stretch 独有 #### 2.3.1. PHP 扩展(docker-php-ext-install) 无 #### 2.3.2. PECL * zookeeper #### 2.3.3. apt-get * libfreetype6 * libjpeg62-turbo * libpng16-16 * libwebp6 * libxpm4 * libzip4 * libzookeeper-mt2 ## 3. 使用方式 ### 3.1. alpine ``` ./build-alpine.sh [registry [image]] ``` ### 3.2. stretch ``` ./build-stretch.sh [registry [image]] ``` ## 4. 致谢 * [`__赵小刚__`](https://my.oschina.net/2bit) 审核了 shell 脚本