docker-php-fpm-5.3
docker-php-fpm-5.3 copied to clipboard
PHP-FPM 5.3 Docker Image (base image) [multi-arch]
PHP-FPM 5.3
Available Architectures: amd64, i386, arm64, arm/v7, arm/v6
This repository will provide you a fully functional PHP-FPM 5.3 Docker image built from official sources nightly. Additional patches have been applied to enable FPM functionality. PHP 5.3 reached EOL on 14 Aug 2014 and thus, official docker support was dropped. It provides the base for Devilbox PHP-FPM Docker images.
๐ฑ GitHub: devilbox/docker-php-fpm-5.3
| Upstream Project | Reference Implementation |
|---|---|
![]() |
![]() |
| Streamlined PHP-FPM images | The Devilbox |
๐ Available Docker tags
docker pull devilbox/php-fpm-5.3
Rolling releases
The following Docker image tags are rolling releases and are built and updated every night.
| Docker Tag | Git Ref | Available Architectures |
|---|---|---|
latest |
master | amd64, i386, arm64, arm/v7, arm/v6 |
jessie |
master | amd64, i386, arm64, arm/v7, arm/v6 |
stretch |
master | amd64, i386, arm64, arm/v7, arm/v6 |
Point in time releases
The following Docker image tags are built once and can be used for reproducible builds. Its version never changes so you will have to update tags in your pipelines from time to time in order to stay up-to-date.
| Docker Tag | Git Ref | Available Architectures |
|---|---|---|
<tag> |
git: <tag> |
amd64, i386, arm64, arm/v7, arm/v6 |
jessie-<tag> |
git: <tag> |
amd64, i386, arm64, arm/v7, arm/v6 |
stretch-<tag> |
git: <tag> |
amd64, i386, arm64, arm/v7, arm/v6 |
๐ Where
<tag>refers to the chosen git tag from this repository.
โ Environment Variables
None
๐ง Exposed Ports
PHP-FPM listening port 9000
๐ Volumes
None
โฐ Available Extensions
If you need a dockerized version of PHP 5.3 or PHP-FPM 5.3 which provides a vast amount of extensions enabled by default visit: devilbox/docker-php-fpm
๐ Click below listed extensions for details:
| Extension | Built-in |
|---|---|
| ctype | โ |
| curl | โ |
| date | โ |
| dom | โ |
| ereg | โ |
| fileinfo | โ |
| filter | โ |
| ftp | โ |
| hash | โ |
| iconv | โ |
| json | โ |
| libxml | โ |
| mbstring | โ |
| mhash | โ |
| mysqlnd | โ |
| openssl | โ |
| pcre | โ |
| PDO | โ |
| pdo_sqlite | โ |
| Phar | โ |
| posix | โ |
| readline | โ |
| recode | โ |
| Reflection | โ |
| session | โ |
| SimpleXML | โ |
| SPL | โ |
| SQLite | โ |
| sqlite3 | โ |
| tokenizer | โ |
| xml | โ |
| xmlreader | โ |
| xmlwriter | โ |
| zlib | โ |
โข Build
Build the Docker image locally
make build
Rebuild the Docker image locally without cache
make rebuild
Test the Docker image after building
make test
๐ณ Usage
Add the following FROM line into your Dockerfile:
FROM devilbox/php-fpm-5.3:latest
๐ก Examples
Create a temporary directory, navigate into it and copy/paste the commands below to get started.
1. Setup hello world webpage
mkdir htdocs
echo "<?php echo 'hello world';" > htdocs/index.php
2. Start PHP container
docker run -d --rm --name devilbox-php-fpm-5.3 \
-v $(pwd)/htdocs:/var/www/default/htdocs devilbox/php-fpm-5.3
3. Start Nginx container
docker run -d --rm --name devilbox-nginx-stable \
-v $(pwd)/htdocs:/var/www/default/htdocs \
-e PHP_FPM_ENABLE=1 \
-e PHP_FPM_SERVER_ADDR=devilbox-php-fpm-5.3 \
-p 8080:80 \
--link devilbox-php-fpm-5.3 \
devilbox/nginx-stable
4. Open browser
Open up your browser at http://127.0.0.1:8080
๐ Similar Base Images
Have a look at the following similar Devilbox base images for which no official versions exist yet:
In case you are looking for development and production ready PHP-FPM images for all versions, which have a vast amount of modules enabled by default go here: PHP-FPM
๐ For details see Documentation: Base Images
๐ค Sister Projects
Show some love for the following sister projects.
๐ซ Community
In case you seek help, go and visit the community pages.
๐ Documentation |
๐ฎ Discord |
๐ช Forum |
|---|---|---|
|
|
|
|
| devilbox.readthedocs.io | discord/devilbox | devilbox.discourse.group |
๐ง Maintainer
I try to keep up with literally over 100 projects besides a full-time job. If my work is making your life easier, consider contributing. ๐ค
Findme: ๐ฑ cytopia / devilbox | ๐ cytopia / devilbox | ๐ฆ everythingcli / devilbox | ๐ everythingcli.org
Contrib: PyPI: cytopia ยท Terraform: cytopia ยท Ansible: cytopia
๐ License
MIT License
Copyright (c) 2022 cytopia




