Skip to content

Commit

Permalink
Add PHP MySQL extensions
Browse files Browse the repository at this point in the history
The PHP8-compatible versions of WPBrowser & Codeception, that we use to
run integration/acceptance tests on plugins like
dxw-Comment-Notifications and dxw-Digest, have changed the way they
communicate with databases. They now require these additional extensions
to be able to do so.

Adding them to our local image means we will be able to upgrade those
tests to work on PHP8.
  • Loading branch information
RobjS committed Nov 11, 2024
1 parent c79ca52 commit 4c8ca33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/wordpress/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN docker-php-ext-install mysqli && \
docker-php-ext-install exif &&\
docker-php-ext-install soap &&\
docker-php-ext-enable imagick && \
docker-php-ext-install pdo pdo_mysql &&\
docker-php-ext-enable mysqli && \
a2enmod rewrite

RUN curl --silent https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar > /usr/local/bin/wp-cli.phar
Expand Down

0 comments on commit 4c8ca33

Please sign in to comment.