https://github.com/hetao29/php7.4-alpine
php7&nginx docker image
https://github.com/hetao29/php7.4-alpine
alpine docker nginx php7
Last synced: 2 months ago
JSON representation
php7&nginx docker image
- Host: GitHub
- URL: https://github.com/hetao29/php7.4-alpine
- Owner: hetao29
- License: mit
- Created: 2022-01-30T06:30:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-03T03:28:51.000Z (over 4 years ago)
- Last Synced: 2025-03-18T09:16:56.232Z (over 1 year ago)
- Topics: alpine, docker, nginx, php7
- Language: Dockerfile
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php7.4-alpine
## usage
```dockerfile
FROM hetao29/php7.4-alpine
WORKDIR /data/www/
COPY index.php ./
```
## nginx
1. nginx
## extension
1. imap mbstring ldap redis mcrypt ldap mysql bcmath curl gd iconv openssl imagick zip ftp pcntl sockets exif
2. grpc swoole
## dir
### site root
```bash
/data/www/www
```
### php config
```bash
/etc/php7/php.ini
```
### php-fpm config
```bash
/etc/php7/php-fpm.conf
/etc/php7/php-fpm.d/www.conf
```
### nginx config
```bash
/etc/nginx/nginx.conf
/etc/nginx/sites-enabled/www
```