# multi-php-version-environment **Repository Path**: gavin78/multi-php-version-environment ## Basic Information - **Project Name**: multi-php-version-environment - **Description**: PHP多版本共存环境 - **Primary Language**: Docker - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-10 - **Last Updated**: 2021-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## PHP多版本共存环境 ### 镜像信息 基于 `Ubuntu-20.04` 构建, 支持 `PHP-5.6`、`PHP-7.2`、`PHP-7.4` 环境。 导出端口 `80`、`8056`、`8072`、`8074`,其中 `8056`、`8072`、`8074` 为内部 `php-fpm` 监听端口。 --- ### supervisor配置 位置在 `volume/config/supervisor/conf.d` 下。 --- ### 使用说明 + 构建镜像 `scripts/1.build-image.sh`. + 重建容器 `scripts/2.restart-container.sh`. + 进入容器 `scripts/3.enter-container.sh`.