php-fpm 5.3.3,PHP-FPM 5.3 Docker Image (base image only)

PHP-FPM 5.3

68747470733a2f2f7472617669732d63692e6f72672f646576696c626f782f646f636b65722d7068702d66706d2d352e332e7376673f6272616e63683d6d6173746572

68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f646576696c626f782f646f636b65722d7068702d66706d2d352e332e737667

68747470733a2f2f6261646765732e6769747465722e696d2f646576696c626f782f4c6f6262792e737667

68747470733a2f2f696d672e736869656c64732e696f2f646973636f757273652f68747470732f646576696c626f782e646973636f757273652e67726f75702f7374617475732e7376673f636f6c6f72423d253233344342363937

68747470733a2f2f696d616765732e6d6963726f6261646765722e636f6d2f6261646765732f76657273696f6e2f646576696c626f782f7068702d66706d2d352e332e737667

68747470733a2f2f696d616765732e6d6963726f6261646765722e636f6d2f6261646765732f696d6167652f646576696c626f782f7068702d66706d2d352e332e737667

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d2532333344413633392e737667

This repository will provide you a fully functional PHP-FPM 5.3 Docker image built from official sources nightly. 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.

Docker Hub

Upstream Project

687474703a2f2f646f636b6572692e636f2f696d6167652f646576696c626f782f7068702d66706d2d352e33

22ac82a592722ee090e5652db495d92b.png

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:

Documentation

In case you seek help, go and visit the community pages.

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

Available Modules

If you need a dockerized version of PHP 5.3 or PHP-FPM 5.3 which provides a vast amount of

modules enabled by default visit:

Module

Built-in

Core

ctype

curl

date

dom

ereg

fileinfo

filter

hash

iconv

json

libxml

mysql

mysqlnd

openssl

pcre

PDO

pdo_sqlite

Phar

posix

readline

recode

Reflection

session

SimpleXML

SPL

SQLite

sqlite3

standard

tokenizer

xml

xmlreader

xmlwriter

zlib

Example

Create a temporary directory, navigate into it and copy/paste the commands below to get started.

1. Setup hello world webpage

mkdir htdocs

echo "" > 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

License

Copyright (c) 2018 cytopia

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值