Code Monkey home page Code Monkey logo

docker-php-fpm-8.1's Introduction

PHP-FPM 8.1

Tag lint build nightly License

Discord Discourse

Available Architectures: amd64, i386, arm64, arm/v7, arm/v6

This repository will provide you a fully functional PHP-FPM 8.1 Docker image built from official sources nightly. It provides the base for Devilbox PHP-FPM Docker images.

๐Ÿฑ GitHub: devilbox/docker-php-fpm-8.1
Upstream Project Reference Implementation
Streamlined PHP-FPM images The Devilbox

๐Ÿ‹ Available Docker tags

latest

docker pull devilbox/php-fpm-8.1

Rolling releases

The following Docker image tags are rolling releases and are built and updated every night.

nightly

Docker Tag Git Ref Available Architectures
latest 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.

build

Docker Tag Git Ref Available Architectures
<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 8.1 or PHP-FPM 8.1 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 โœ“
FFI โœ“
fileinfo โœ“
filter โœ“
ftp โœ“
hash โœ“
iconv โœ“
json โœ“
libxml โœ“
mbstring โœ“
mysqlnd โœ“
openssl โœ“
pcre โœ“
PDO โœ“
pdo_sqlite โœ“
Phar โœ“
posix โœ“
readline โœ“
Reflection โœ“
session โœ“
SimpleXML โœ“
sodium โœ“
SPL โœ“
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-8.1: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-8.1 \
  -v $(pwd)/htdocs:/var/www/default/htdocs devilbox/php-fpm-8.1

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-8.1 \
  -p 8080:80 \
  --link devilbox-php-fpm-8.1 \
  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.

๐Ÿ–ค Project ๐Ÿฑ GitHub ๐Ÿ‹ DockerHub
Devilbox
docker-php-fpm devilbox/php-fpm
docker-php-fpm-community devilbox/php-fpm-community
docker-mysql devilbox/mysql
docker-apache-2.2
docker-apache-2.4
docker-nginx-stable
docker-nginx-mainline
devilbox/apache-2.2
devilbox/apache-2.4
devilbox/nginx-stable
devilbox/nginx-mainline

๐Ÿ‘ซ Community

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

devilbox.readthedocs.io discord/devilbox devilbox.discourse.group

๐Ÿง˜ Maintainer

@cytopia

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

docker-php-fpm-8.1's People

Contributors

cytopia avatar dependabot[bot] avatar dvlbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-php-fpm-8.1's Issues

it's now 8.2

Currently the master creates a PHP 8.2.0-dev image (wich is fine if I change the last verify command in Dockerfile and the image name in Makefile).

Step 20/22 : RUN php -v
 ---> Running in d87201275b8b
PHP 8.2.0-dev (cli) (built: Oct  8 2021 23:15:54) (NTS)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.