https://github.com/technicalguru/docker-php
Docker Image for PHP apps
https://github.com/technicalguru/docker-php
Last synced: 5 months ago
JSON representation
Docker Image for PHP apps
- Host: GitHub
- URL: https://github.com/technicalguru/docker-php
- Owner: technicalguru
- License: other
- Created: 2020-03-22T18:01:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-29T12:57:24.000Z (almost 2 years ago)
- Last Synced: 2025-02-08T06:30:58.466Z (over 1 year ago)
- Language: Dockerfile
- Size: 849 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-php
This is my private PHP base image in order to be up-to-date with latest Apache AND PHP versions. The image includes many PHP extensions enabled
by default so most PHP applications can run without much tweaks. Check the [Dockerfile](Dockerfile) to see the list of PHP extensions.
# Breaking Change with PHP 8.4.x
The extension mcrypt is not supported anymore with PHP 8.4. New PHP code should be written to use libsodium rather than mcrypt.
The libsodium extension is installed by default on PHP 7.2+
# Docker Name
The Dockerhub image name is `technicalguru/php`
# Current Releases / Tags
* 8.4.16-apache-2.4.65.0
* 8.3.29-apache-2.4.65.0
# Supported Platforms
* linux/amd64
* linux/arm64
# Unsupported PHP versions
* 8.2.28-apache-2.4.62.0
* 8.1.32-apache-2.4.62.0
* 7.4.32-apache-2.4.54.0
# Enabled PHP Modules
* ctype
* curl
* date
* dom
* exif
* fileinfo
* filter
* ftp
* gd
* hash
* iconv
* imagick
* imap
* intl
* json
* libxml
* mbstring
* mysqli
* mysqlnd
* openssl
* pcre
* PDO
* pdo\_mysql
* pdo\_sqlite
* Phar
* posix
* random
* readline
* Reflection
* session
* SimpleXML
* sodium
* SPL
* sqlite3
* standard
* tokenizer
* xml
* xmlreader
* xmlwriter
* zip
* zlib
# Modfied INI settings (varying from default)
```
expose_php=Off
display_errors=Off
```
# License
All scripts are either taken from PHP original Docker image and adapted to work with the latest Apache or created on my own. However, the main
credit goes to PHP and its prior work. The [PHP LICENSE](PHP_LICENSE.txt) is distributed here.
# Disclaimer
The decision to publish my base image was taken in July 2021. That's why the documentation is currently missing or incomplete.