Sign inSign up

zeus50/php

By zeus50

Updated 20 days ago

PHP

Image
Languages & frameworks
0

5.7K

zeus50/php repository overview

zeus50/php

PHP + Node.js Docker images built on php:{version}-apache, for PHP apps that need a JS build step (Vite, Webpack, Laravel Mix) or headless browser tooling (PDF generation, browser testing).

Quick start

docker pull zeus50/php:8.3-node18.x
docker run -d -p 8080:80 -v $(pwd):/var/www/html zeus50/php:8.3-node18.x

Supported tags

Tag format: {php-version}-node{node-version}.x

  • 8.3-node18.x, 8.3-node20.x
  • 8.2-node18.x
  • 8.1-node16.x

See the Tags tab above for the full, current list. Tags are additive — new PHP/Node combos are published as new tags, existing tags are never rebuilt or overwritten, so pinning a tag in production is safe.

What's included

Base: php:{version}-apache (Debian, Apache 2 + mod_php, mpm_prefork)

PHP extensions: apcu, memcached, oauth, redis, xdebug, bcmath, bz2, calendar, exif, gettext, intl, ldap, mbstring, mysqli, opcache, pcntl, pdo, pdo_mysql, pdo_pgsql, soap, zip, imap (Kerberos/SSL), gd (JPEG, WebP, FreeType)

Tooling:

  • Composer (latest 2.x)
  • Node.js (per tag) + npm + Yarn (via Corepack)
  • Git, ImageMagick, rsync, ssh client, MySQL client, PostgreSQL client
  • Google Chrome (stable) — headless rendering / browser automation

Runtime: exposes port 80, runs as root.

Example Dockerfile

FROM zeus50/php:8.3-node18.x

COPY . /var/www/html
RUN composer install --no-dev --optimize-autoloader \
    && npm install && npm run build

Notes

  • PHP/Node patch versions float to whatever the base images resolve to at build time.
  • redis and xdebug install the latest PECL release compatible with the PHP version — pin explicitly in your own Dockerfile if you need an exact version.
  • No Alpine variant yet — the image depends on Google Chrome, which doesn't ship for musl/Alpine.
  • Runs as root; restrict at the orchestration layer if your setup needs a non-root process.

Tag summary

Content type

Image

Digest

sha256:e416d1d09

Size

727.8 MB

Last updated

20 days ago

docker pull zeus50/php:8.1-node16.x