Skip to content
Discussion options

You must be logged in to vote

Hi @khalidshaheen, welcome to HelmForge, and thank you for sharing this.

You are correct: the official WordPress image intentionally ships with a limited set of PHP extensions. It includes mysqli, which WordPress core uses, but it does not include pdo_mysql. Plugins that explicitly depend on PDO MySQL therefore require a custom image.

This is an upstream image design decision rather than a HelmForge chart issue. The HelmForge chart uses the official WordPress image by default, but you do not need to fork or modify the chart. You can build an image derived from the official one:

FROM wordpress:7.1.3-apache

RUN docker-php-ext-install pdo_mysql

Publish that image to your registry and config…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by khalidshaheen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants