Sign inSign up

sugenk/php82wp

By sugenk

•Updated 7 days ago

Lightweight PHP 8.2 Docker Image for WordPress with imagick, mcrypt, and opcache

Image
Languages & frameworks
Web servers
Content management system
1

521

sugenk/php82wp repository overview

⁠Blank Docker Image for WordPress

⁠Features

  • Ready and easy to deploy
  • Secured, run as nobody user
  • Alpine Linux 3.17
  • NGINX/1.22.1
  • PHP 8.2.5

⁠Notice

If you got WP Error after upgrading PHP 7.4 to PHP 8.2, please back to PHP7.4 then upgrade to the latest WordPress first before upgrading to PHP 8.2. some error example is..

  • The site is experiencing technical difficulties.
  • PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in ...

⁠PHP 8.2 Modules

  • bcmath
  • Core
  • ctype
  • curl
  • date
  • dom
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • hash
  • iconv
  • imagick
  • intl
  • json
  • libxml
  • mbstring
  • mcrypt
  • mysqli
  • mysqlnd
  • openssl
  • pcre
  • PDO
  • pdo_sqlite
  • Phar
  • posix
  • random
  • readline
  • Reflection
  • session
  • SimpleXML
  • sodium
  • SPL
  • sqlite3
  • standard
  • tokenizer
  • xml
  • xmlreader
  • xmlwriter
  • Zend OPcache
  • zip
  • zlib

⁠How to use in docker compose

services:
  your-wp-container:
    image: sugenk/php82wp:latest
    restart: always
    volumes:
      - /your/path/wordpress:/var/www/html/public
    ports:
      - 8080:8080
    networks:
      - your-network

Tag summary

Content type

Image

Digest

sha256:28a5593c9…

Size

52.4 MB

Last updated

7 days ago

docker pull sugenk/php82wp