Generic PHP docker container images
Repo wodby/php, read from GitHub 1 min ago. wodby has not joined Take My Repo.
wodby/php is a public repo on GitHub by wodby. Generic PHP docker container images. It declares the MIT license on GitHub. It is written mainly in Go Template, has 174 stars and last changed on 2026-11-21. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-22.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
wodby/phpUse image revision tags such as wodby/php:8.5-rN to select a Wodby image revision.
Major and minor tags use the repository release number, starting at r0. Full-version tags such as
wodby/php:8.5.10-r0 start at r0 for each exact upstream version.
Every published versioned revision tag has a matching annotated Git tag pointing to its release commit.
Existing tags remain available after support for their major or minor version ends.
See release tags for available revisions and the image revision policy for upgrade guidance.
Previously published image tags remain available.
About images:
Supported tags and respective Dockerfile links:
8.6 (8/Dockerfile)8.5, 8, latest (8/Dockerfile)8.4 (8/Dockerfile)8.3 (8/Dockerfile)8.2 (8/Dockerfile)8.6-dev (8/Dockerfile)8.5-dev, 8-dev, dev (8/Dockerfile)8.4-dev (8/Dockerfile)8.3-dev (8/Dockerfile)8.2-dev (8/Dockerfile)8.6-dev-macos (8/Dockerfile)8.5-dev-macos, 8-dev-macos, dev-macos (8/Dockerfile)8.4-dev-macos (8/Dockerfile)8.3-dev-macos (8/Dockerfile)8.2-dev-macos (8/Dockerfile)8.6-apache (8/Dockerfile)8.5-apache, 8-apache (8/Dockerfile)8.4-apache (8/Dockerfile)8.3-apache (8/Dockerfile)8.2-apache (8/Dockerfile)PHP 8.6 images are thread-safe (ZTS), like the official PHP 8.6 images, and sessions default to strict mode, HttpOnly cookies and SameSite=Lax, as in PHP 8.6 itself. Several extensions have no PHP 8.6 release yet; see #274. The 8, latest and dev tags stay on PHP 8.5.
-devImages with -dev tag have a few differences:
sudo allowed for all commands for wodby user/usr/src/php.tar.xzPHP_FPM_CLEAR_ENV is set to no by default-dev-macosSame as -dev but the default user/group wodby has uid/gid 501/20 to match the macOS default user/group ids.
-apacheImages with -apache tag run Apache HTTP Server in front of PHP-FPM in the same
container, so an application is served without a separate web server container:
80, serves static files and the application's .htaccess rules, and passes PHP scripts
to the PHP-FPM of the containerX-Forwarded-Proto: https from a TLS-terminating proxy reaches PHP with HTTPS=on/.healthz answers 204, and the check-ready action checks both Apache and PHP-FPM-dev variantsapache2 package. The images are rebuilt when Alpine publishes a newer version| Variable | Default value | Description |
|---|---|---|
APACHE_DOCUMENT_ROOT |
/var/www/html |
|
APACHE_DIRECTORY_INDEX |
index.php index.html |
|
APACHE_ALLOW_OVERRIDE |
All |
Which .htaccess directives apply |
APACHE_INDEXES_ENABLED |
Set to list directories without an index file | |
APACHE_PORT |
80 |
|
APACHE_FPM_HOST |
127.0.0.1 |
|
APACHE_FPM_PORT |
9000 |
|
APACHE_FCGI_PROXY_CONN_TIMEOUT |
5 |
|
APACHE_FCGI_PROXY_TIMEOUT |
900 |
Seconds a PHP script may take to answer |
APACHE_REMOTEIP_TRUSTED_PROXIES |
Space-separated proxy addresses or ranges whose X-Forwarded-For is trusted |
|
APACHE_REMOTEIP_HEADER |
X-Forwarded-For |
|
APACHE_USER |
www-data |
|
APACHE_GROUP |
www-data |
|
APACHE_LOG_LEVEL |
warn |
|
APACHE_LOG_FORMAT |
common |
common or combined |
APACHE_TIMEOUT |
60 |
|
APACHE_KEEP_ALIVE |
On |
|
APACHE_MAX_KEEP_ALIVE_REQUESTS |
100 |
|
APACHE_KEEP_ALIVE_TIMEOUT |
5 |
|
APACHE_USE_CANONICAL_NAME |
Off |
|
APACHE_SERVER_TOKENS |
Prod |
|
APACHE_SERVER_SIGNATURE |
Off |
|
APACHE_GRACEFUL_SHUTDOWN_TIMEOUT |
20 |
Seconds running requests get to finish on a stop |
APACHE_REQUEST_READ_TIMEOUT |
header=20-40,MinRate=500 body=20,MinRate=500 |
|
APACHE_MPM_EVENT_SERVER_LIMIT |
16 |
|
APACHE_MPM_EVENT_MAX_REQUEST_WORKERS |
400 |
|
APACHE_MPM_EVENT_START_SERVERS |
3 |
|
APACHE_MPM_EVENT_THREADS_PER_CHILD |
25 |
|
APACHE_MPM_EVENT_THREAD_LIMIT |
64 |
Additional Apache configuration files mounted to /etc/apache2/conf.d/*.conf are included after the virtual host.
All images built for linux/amd64 and linux/arm64
The default configuration is not recommended for use for production environment:
| Variable | 8.6 | 8.5 | 8.4 | 8.3 | 8.2 |
|---|---|---|---|---|---|
PHP_ALLOW_URL_FOPEN |
On |
On |
On |
On |
On |
PHP_APCU_ENABLE_CLI |
0 |
0 |
0 |
0 |
0 |
PHP_APCU_ENABLED |
1 |
1 |
1 |
1 |
1 |
PHP_APCU_ENTRIES_HINT |
4096 |
4096 |
4096 |
4096 |
4096 |
PHP_APCU_COREDUMP_UNMAP |
0 |
0 |
0 |
0 |
0 |
PHP_APCU_GC_TTL |
3600 |
3600 |
3600 |
3600 |
3600 |
PHP_APCU_PRELOAD_PATH |
NULL |
NULL |
NULL |
NULL |
NULL |
PHP_APCU_SERIALIZER |
|||||
PHP_APCU_SHM_SEGMENTS |
1 |
1 |
1 |
1 |
1 |
PHP_APCU_SHM_SIZE |
128M |
128M |
128M |
128M |
128M |
PHP_APCU_SLAM_DEFENSE |
1 |
1 |
1 |
1 |
1 |
PHP_APCU_TTL |
0 |
0 |
0 |
0 |
0 |
PHP_APCU_USE_REQUEST_TIME |
1 |
1 |
1 |
1 |
1 |
PHP_ASSERT_ACTIVE |
- | - | - | - | On |
PHP_AUTO_PREPEND_FILE |
|||||
PHP_AUTO_APPEND_FILE |
|||||
PHP_BROTLI_OUTPUT_COMPRESSION |
0 |
0 |
0 |
0 |
0 |
PHP_BROTLI_OUTPUT_COMPRESSION_LEVEL |
-1 |
-1 |
-1 |
-1 |
-1 |
PHP_CLI_MEMORY_LIMIT |
-1 |
-1 |
-1 |
-1 |
-1 |
PHP_DATE_TIMEZONE |
UTC |
UTC |
UTC |
UTC |
UTC |
PHP_DEFAULT_SOCKET_TIMEOUT |
60 |
60 |
60 |
60 |
60 |
PHP_DISABLE_FUNCTIONS |
|||||
PHP_DISABLE_CLASSES |
|||||
PHP_DISPLAY_STARTUP_ERRORS |
On |
On |
On |
On |
On |
PHP_ERROR_REPORTING |
E_ALL |
E_ALL |
E_ALL |
E_ALL |
E_ALL |
PHP_EXPOSE |
Off |
Off |
Off |
Off |
Off |
PHP_EXTENSIONS_DISABLE |
xdebug,xhprof,spx |
xdebug,xhprof,spx |
xdebug,xhprof,spx |
xdebug,xhprof,spx |
xdebug,xhprof,spx |
PHP_FPM_CLEAR_ENV |
yes |
yes |
yes |
yes |
yes |
PHP_FPM_ENV_VARS |
|||||
PHP_FPM_LOG_LEVEL |
notice |
notice |
notice |
notice |
notice |
PHP_FPM_PM |
dynamic |
dynamic |
dynamic |
dynamic |
dynamic |
PHP_FPM_PM_MAX_CHILDREN |
8 |
8 |
8 |
8 |
8 |
PHP_FPM_PM_MAX_REQUESTS |
500 |
500 |
500 |
500 |
500 |
PHP_FPM_PM_MAX_SPARE_SERVERS |
3 |
3 |
3 |
3 |
3 |
PHP_FPM_PM_MIN_SPARE_SERVERS |
1 |
1 |
1 |
1 |
1 |
PHP_FPM_PM_STATUS_PATH |
|||||
PHP_FPM_REQUEST_SLOWLOG_TIMEOUT |
|||||
PHP_FPM_PM_START_SERVERS |
2 |
2 |
2 |
2 |
2 |
PHP_FPM_PROCESS_CONTROL_TIMEOUT |
20 |
20 |
20 |
20 |
20 |
PHP_FPM_USER |
www-data |
www-data |
www-data |
www-data |
www-data |
PHP_FPM_GROUP |
www-data |
www-data |
www-data |
www-data |
www-data |
PHP_GRPC_ENABLE_FORK_SUPPORT |
1 |
1 |
1 |
1 |
1 |
PHP_GRPC_LOG_FILENAME |
/proc/self/fd/2 |
/proc/self/fd/2 |
/proc/self/fd/2 |
/proc/self/fd/2 |
/proc/self/fd/2 |
PHP_GRPC_POLL_STRATEGY |
epoll1 |
epoll1 |
epoll1 |
epoll1 |
epoll1 |
PHP_GRPC_TRACE |
|||||
PHP_GRPC_VERBOSITY |
error |
error |
error |
error |
error |
PHP_IGBINARY_COMPACT_STRINGS |
On |
On |
On |
On |
On |
PHP_INCLUDE_PATH |
.:/usr/local/lib/php |
- | - | - | - |
PHP_LOG_ERRORS |
On |
On |
On |
On |
On |
PHP_LOG_ERRORS_MAX_LEN |
0 |
0 |
0 |
0 |
0 |
PHP_MAX_EXECUTION_TIME |
120 |
120 |
120 |
120 |
120 |
PHP_MAX_FILE_UPLOADS |
20 |
20 |
20 |
20 |
20 |
PHP_MAX_INPUT_TIME |
60 |
60 |
60 |
60 |
60 |
PHP_MAX_INPUT_VARS |
2000 |
2000 |
2000 |
2000 |
2000 |
PHP_MEMORY_LIMIT |
512M |
512M |
512M |
512M |
512M |
PHP_MYSQLI_CACHE_SIZE |
2000 |
2000 |
2000 |
2000 |
2000 |
PHP_NEWRELIC_LICENSE |
|||||
| see all newrelic ext options | 8.x newrelic | 8.x newrelic | 8.x newrelic | 8.x newrelic | 8.x newrelic |
PHP_OPCACHE_ENABLE |
1 |
1 |
1 |
1 |
1 |
PHP_OPCACHE_ENABLE_CLI |
0 |
0 |
0 |
0 |
0 |
PHP_OPCACHE_VALIDATE_TIMESTAMPS |
1 |
1 |
1 |
1 |
1 |
PHP_OPCACHE_REVALIDATE_FREQ |
2 |
2 |
2 |
2 |
2 |
PHP_OPCACHE_MAX_ACCELERATED_FILES |
4000 |
4000 |
4000 |
4000 |
4000 |
PHP_OPCACHE_MEMORY_CONSUMPTION |
128 |
128 |
128 |
128 |
128 |
PHP_OPCACHE_INTERNED_STRINGS_BUFFER |
8 |
8 |
8 |
8 |
8 |
PHP_OPCACHE_FAST_SHUTDOWN |
- | - | - | - | - |
PHP_OPCACHE_HUGE_CODE_PAGES |
0 |
0 |
0 |
0 |
0 |
PHP_OPCACHE_PRELOAD |
- | - | - | - | - |
PHP_OPCACHE_PRELOAD_USER |
www-data |
www-data |
www-data |
www-data |
www-data |
PHP_OPCACHE_JIT |
tracing |
tracing |
tracing |
tracing |
tracing |
PHP_OPCACHE_JIT_BUFFER_SIZE |
0 |
0 |
0 |
0 |
0 |
PHP_OUTPUT_BUFFERING |
4096 |
4096 |
4096 |
4096 |
4096 |
PHP_PCOV_ENABLED |
0 |
0 |
0 |
0 |
0 |
| see all pcov ext options | 8.x pcov | 8.x pcov | 8.x pcov | 8.x pcov | 8.x pcov |
PHP_PDO_MYSQL_CACHE_SIZE |
- | - | - | - | - |
PHP_PHAR_READONLY |
1 |
1 |
1 |
1 |
1 |
PHP_PHAR_REQUIRE_HASH |
1 |
1 |
1 |
1 |
1 |
PHP_PHAR_CACHE_LIST |
|||||
PHP_POST_MAX_SIZE |
32M |
32M |
32M |
32M |
32M |
PHP_REALPATH_CACHE_SIZE |
4096k |
4096k |
4096k |
4096k |
4096k |
PHP_REALPATH_CACHE_TTL |
120 |
120 |
120 |
120 |
120 |
PHP_SENDMAIL_PATH |
/usr/bin/msmtp -t -i |
/usr/bin/msmtp -t -i |
/usr/bin/msmtp -t -i |
/usr/bin/msmtp -t -i |
/usr/bin/msmtp -t -i |
PHP_MAIL_MIXED_LF_AND_CRLF |
Off |
Off |
Off |
Off |
Off |
PHP_SESSION_SAVE_HANDLER |
files |
files |
files |
files |
files |
PHP_SHORT_OPEN_TAG |
1 |
1 |
1 |
1 |
1 |
PHP_SPX_DATA_DIR |
/mnt/files/spx |
/mnt/files/spx |
/mnt/files/spx |
/mnt/files/spx |
/mnt/files/spx |
PHP_SPX_HTTP_ENABLED |
0 |
0 |
0 |
0 |
0 |
PHP_SPX_HTTP_KEY |
|||||
PHP_SPX_HTTP_IP_WHITELIST |
|||||
| see all sqlsrv ext options | 8.x sqlsrv | 8.x sqlsrv | 8.x sqlsrv | 8.x sqlsrv | 8.x sqlsrv |
| see all session options | 8.3 session | 8.3 session | 8.3 session | 8.3 session | 8.2 session |
| see all xhprof options | 8.x xhprof | 8.x xhprof | 8.x xhprof | 8.x xhprof | 8.x xhprof |
PHP_UPLOAD_MAX_FILESIZE |
32M |
32M |
32M |
32M |
32M |
PHP_XDEBUG_MODE |
off |
off |
off |
off |
off |
| see all xdebug ext options | 8.x xdebug | 8.x xdebug | 8.x xdebug | 8.x xdebug | 8.x xdebug |
PHP_ZEND_ASSERTIONS |
1 |
1 |
1 |
1 |
1 |
PHP_ZEND_EXCEPTION_IGNORE_ARGS |
0 |
0 |
0 |
0 |
0 |
PHP_ZEND_MULTIBYTE |
0 |
0 |
0 |
0 |
0 |
PHP_ZEND_SIGNAL_CHECK |
0 |
0 |
0 |
0 |
0 |
PHP_ZEND_EXCEPTION_STRING_PARAM_MAX_LEN |
15 |
15 |
15 |
15 |
15 |
PHP_ZEND_SCRIPT_ENCODING |
|||||
PHP_ZEND_DETECT_UNICODE |
"-" - Not available for this version
PHP_FPM_ENV_VARS must be a JSON array encoded as a string when used with PHP_FPM_CLEAR_ENV=yes, for example ["DB_USER","DB_NAME"]. In Docker Compose, quote it so YAML treats it as a string instead of an array:
services: php: environment: PHP_FPM_CLEAR_ENV: "yes" PHP_FPM_ENV_VARS: '["DB_USER","DB_NAME"]'
List-style Compose syntax also works:
services: php: environment: - PHP_FPM_CLEAR_ENV=yes - PHP_FPM_ENV_VARS=["DB_USER","DB_NAME"]
In a .env file use:
PHP_FPM_ENV_VARS=["DB_USER","DB_NAME"]
| Variable | Default value |
|---|---|
GIT_USER_EMAIL |
wodby@example.com |
GIT_USER_NAME |
wodby |
HTTP_PROXY |
|
SSH_PRIVATE_KEY |
|
SSH_DISABLE_STRICT_KEY_CHECKING |
|
SSHD_GATEWAY_PORTS |
no |
SSHD_HOST_KEYS_DIR |
/etc/ssh |
SSHD_LOG_LEVEL |
INFO |
SSHD_PASSWORD_AUTHENTICATION |
no |
SSHD_PERMIT_USER_ENV |
yes |
SSHD_USE_DNS |
yes |
MSMTP_PORT |
25 |
MSMTP_TLS |
off |
MSMTP_LOG |
|
MSMTP_LOGFILE |
/proc/self/fd/2 |
MSMTP_AUTH |
off |
MSMTP_HOST |
opensmtpd |
MSMTP_ADD_MISSING_DATE_HEADER |
on |
MARIADB_CLIENT_SSL_VERIFY_SERVER_CERT |
` |
| Argument | Default value |
|---|---|
PHP_VER |
|
PHP_DEV |
|
PHP_WEB |
|
WODBY_GROUP_ID |
1000 |
WODBY_USER_ID |
1000 |
PHP_WEB is a make variable rather than a Docker build argument: PHP_WEB=apache make builds the
-apache variant, the apache stage of the Dockerfile.
Change WODBY_USER_ID and WODBY_GROUP_ID mainly for local dev version of images, if it matches with existing system
user/group ids, the latter will be deleted.
Builds use Docker's standard HTTP_PROXY, HTTPS_PROXY, and NO_PROXY arguments
(and their lowercase equivalents). PECL_HTTP_PROXY is no longer supported.
For example, run HTTPS_PROXY=http://proxy:3128 make from 8/.
Functional extension and runtime checks are documented in the test suite.
Extensions xdebug, xhprof and spx disabled by default, to change it, override the default env
var PHP_EXTENSIONS_DISABLE=xdebug,xhprof,spx.
Extensions are installed using PIE or compiled from
pinned source releases. The pecl, pear, and peardev commands are no longer
included. Downstream Dockerfiles using these commands must switch to PIE or
build the extension with phpize. PIE requires the extension's vendor/package
name, such as phpredis/phpredis, rather than its PECL name. Build tools and
extension-specific development libraries must be installed before compiling
additional extensions, including in -dev images.
The image retains docker-php-ext-configure, docker-php-ext-install, and
docker-php-ext-enable. When adding an extension with PIE, use
--skip-enable-extension, then docker-php-ext-enable to retain the INI filenames
recognized by PHP_EXTENSIONS_DISABLE.
The build-only 8/install-extensions.sh preserves extension versions and configure
options. gRPC follows the latest stable release compatible with the PHP version at
build time; its version is intentionally unpinned. Packages without a usable PIE
release use checksum-verified release archives from pecl.php.net without invoking
the PECL client. Update each archive's version and SHA-256 together. PHP 8.2 retains
SQL Server drivers 5.12.0 and PHP 8.3 retains 5.13.3, the last releases for those
versions; PHP 8.4 and newer use 5.14.0 from Microsoft's GitHub release archives.
IMAP remains bundled on PHP 8.2/8.3 and is built from a release archive on PHP
8.4/8.5.
PHP 8.6 images ship without extensions that have no release supporting PHP 8.6 yet; they are marked - below and tracked in #274.
| Extension | 8.6 | 8.5 | 8.4 | 8.3 | 8.2 |
|---|---|---|---|---|---|
| amqp | - | 2.2.0 | 2.2.0 | 2.2.0 | 2.2.0 |
| apcu | - | 5.1.28 | 5.1.28 | 5.1.28 | 5.1.28 |
| ast | 1.1.4 | 1.1.4 | 1.1.4 | 1.1.4 | 1.1.4 |
| bcmath | |||||
| brotli | 0.21.1 | 0.21.1 | 0.21.1 | 0.21.1 | 0.21.1 |
| bz2 | |||||
| calendar | |||||
| Core | |||||
| ctype | |||||
| curl | |||||
| date | |||||
| dom | |||||
| ds | - | 2.0.0 | 2.0.0 | 2.0.0 | 2.0.0 |
| exif | |||||
| event | 3.2.0 | 3.2.0 | 3.2.0 | 3.2.0 | 3.2.0 |
| fileinfo | |||||
| filter | |||||
| ftp | |||||
| gd | |||||
| grpc | - | latest | latest | latest | latest |
| hash | |||||
| iconv | |||||
| igbinary | - | 3.2.17RC1 | 3.2.17RC1 | 3.2.17RC1 | 3.2.17RC1 |
| imagick | - | 3.8.1 | 3.8.1 | 3.8.1 | 3.8.1 |
| imap | - | 1.0.3 | 1.0.3 | - | - |
| imap | - | - | - | ||
| intl | |||||
| json | |||||
| ldap | |||||
| libxml | |||||
| mbstring | |||||
| memcached | - | 3.4.0 | 3.4.0 | 3.4.0 | 3.4.0 |
| mongodb | 2.5.8 | 2.5.8 | 2.5.8 | 2.5.8 | 2.5.8 |
| mysqli | |||||
| mysqlnd | |||||
| newrelic | - | latest | latest | latest | latest |
| OAuth | - | 2.0.10 | 2.0.10 | 2.0.10 | 2.0.10 |
| openssl | |||||
| opentelemetry | 1.5.0 | 1.5.0 | 1.5.0 | 1.5.0 | 1.5.0 |
| pcov | - | 1.0.12 | 1.0.12 | 1.0.12 | 1.0.12 |
| pcntl | |||||
| pcre | |||||
| PDO | |||||
| pdo_mysql | |||||
| pdo_pgsql | |||||
| pdo_sqlite | |||||
| pdo_sqlsrv | 5.14.0 | 5.14.0 | 5.14.0 | 5.13.3 | 5.12.0 |
| pgsql | |||||
| Phar | |||||
| posix | |||||
| protobuf | - | 5.36.2 | 5.36.2 | 5.36.2 | 5.36.2 |
| rdkafka | - | 6.0.5 | 6.0.5 | 6.0.5 | 6.0.5 |
| readline | |||||
| redis | - | 6.3.0 | 6.3.0 | 6.3.0 | 6.3.0 |
| Reflection | |||||
| session | |||||
| SimpleXML | |||||
| smbclient | - | 1.1.2 | 1.1.2 | 1.1.2 | 1.1.2 |
| soap | |||||
| sockets | |||||
| sodium | |||||
| SPL | |||||
| spx | - | 0.4.22 | 0.4.22 | 0.4.22 | 0.4.22 |
| sqlite3 | |||||
| sqlsrv | 5.14.0 | 5.14.0 | 5.14.0 | 5.13.3 | 5.12.0 |
| standard | |||||
| sysvmsg | |||||
| sysvsem | |||||
| sysvshm | |||||
| tidy | |||||
| tokenizer | |||||
| uploadprogress | - | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 |
| uuid | 1.3.0 | 1.3.0 | 1.3.0 | 1.3.0 | 1.3.0 |
| xdebug | - | 3.5.3 | 3.5.3 | 3.5.3 | 3.5.3 |
| xhprof | 2.3.10 | 2.3.10 | 2.3.10 | 2.3.10 | 2.3.10 |
| xml | |||||
| xmlreader | |||||
| xmlwriter | |||||
| xsl | |||||
| yaml | - | 2.3.0 | 2.3.0 | 2.3.0 | 2.3.0 |
| Zend OPcache | |||||
| zip | |||||
| zlib |
Legend:
- [EMPTY] – Core PHP extension
- "-" - Not exists in this version > Some extensions may not be available in
-devimages
| Tool | all PHP versions |
|---|---|
| Composer | latest |
| PIE | 1.5.5 |
By default, xdebug mode set to off, which has close to 0 overhead. If you
want to disable the extension completely set PHP_EXTENSIONS_DISABLE=xdebug.
For changes in each image revision, see the release notes.
You can run Crond with this image changing the command to sudo -E crond -f -d 0 and mounting a crontab file
to ./crontab:/etc/crontabs/www-data. Example crontab file contents:
# min hour day month weekday command
*/1 * * * * echo "test" > /mnt/files/cron
You can run SSHD with this image by changing the command to sudo /usr/sbin/sshd -De and mounting authorized public
keys to /home/wodby/.ssh/authorized_keys
You can add a private SSH key to the container by mounting it to /home/wodby/.ssh/id_rsa
Default container user is wodby:wodby (UID/GID 1000). PHP-FPM runs from www-data:www-data user (UID/GID 82) by
default. User wodby is a part of www-data group.
Codebase volume $APP_ROOT (/var/www/html) owned by wodby:wodby. Files volume $FILES_DIR (/mnt/files) owned
by www-data:www-data with 775 mode.
See #22 for more details.
files_chmod – in case you need write access for wodby user to a file/dir generated by www-data on this volume
run sudo files_chmod [FILEPATH] script (FILEPATH must be under /mnt/files), it will recursively change the mode
to ug=rwX,o=rX
files_chown – in case you manually uploaded files under wodby user to files volume and want to change the
ownership of those files to www-data run sudo files_chown [FILEPATH] script (FILEPATH must be under /mnt/files),
it will recursively change ownership to www-data:www-data
wodby/phpUsage:
make COMMAND [params ...]
commands:
migrate
check-ready [host max_try wait_seconds delay_seconds]
git-clone url [branch]
git-checkout target [is_hash]
files-import source
files-link public_dir
update-keys
walter
default params values:
is_hash 0
branch "" Branch, tag or hash commit
Build with the Makefile to use the base image digests in base-images.mk. Local
builds and CI resolve the same version and variant to the same multi-platform
image. A version without a pin fails before the build starts.
When adding a supported base version or variant, add its image index digest to
base-images.mk. For a custom build, override BASE_IMAGE with a complete
repository:tag@sha256:... reference.
Development images declare com.wodby.workspace.contract=1. The contract covers
SSH/development tools, login-shell tool discovery, and repeatable
/docker-entrypoint.sh --configure-runtime without application initialization or
changes to developer SSH/Git configuration. CI validates labels and behavior.
With WODBY_WORKSPACE=1, PHP enables OPcache timestamp validation on every request,
including when production settings disabled it. PHP-FPM also runs its workers as
wodby, the owner of the checkout, unless PHP_FPM_USER is set; the group stays
PHP_FPM_GROUP, so files written to the files directory keep their usual group. Framework caches can still require
an explicit cache clear. Standard startup retains its configured OPcache settings.
wodby/php is a public repo on GitHub by wodby. Generic PHP docker container images.
It declares the MIT license on GitHub.
Its maker tagged it for macOS, Windows and Linux, or as Docker or cross-platform. That is declared by the maker; Take My Repo has not tested it.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-21. GitHub counts 27 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.

A list of Free Software network services and web applications which can be hosted on your own servers
VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Docker-based Python web stack (works for Django)
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/wodby/phpTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.