Sign inSign up

betapcode/php8-fpm-swoole

By betapcode

•Updated about 1 year ago

Container image for PHP-FPM with php8.3-fpm and swoole

Image
Languages & frameworks
0

248

betapcode/php8-fpm-swoole repository overview

⁠PHP 8.3 FPM Swoole Image Overview

⁠Base Image

  • PHP 8.3 FPM

⁠Installed Extensions & Tools

⁠PHP Extensions
  • opcache - PHP opcode caching
  • gd - Image processing
  • pdo - Database abstraction
  • pdo_pgsql - PostgreSQL driver
  • pdo_mysql - MySQL driver
  • zip - ZIP archive handling
  • pcntl - Process Control support
  • swoole - Async event-driven framework
  • redis - Redis client
  • pgsql - PostgreSQL support
  • mysqli - MySQL Improved Extension
  • memcached - Memcached client
⁠System Tools
  • Git
  • Curl
  • NodeJS & NPM (NodeJS v20.9.0)
  • Yarn
  • Supervisor
  • Composer 2.x
  • Default MySQL Client

⁠Usage Examples

⁠Starting PHP-FPM Server
php-fpm
⁠Container Configuration

Exposed Ports 8000 (Default Swoole HTTP Server port) Working Directory /var/www/html

⁠Development Workflow
  1. Build image:
docker build -t php8-fpm-swoole .
  1. Run container:
docker run -d -p 8000:8000 -v $(pwd):/var/www/html php8-fpm-swoole
  1. Install dependencies:
composer install
  1. Run PHP scripts:
php your-script.php

Tag summary

Content type

Image

Digest

sha256:1c38ecab9…

Size

509.1 MB

Last updated

about 1 year ago

docker pull betapcode/php8-fpm-swoole:1.0.4