Skip to content

How to get mailparse and other PHP extensions working? #4683

Answered by rfay
tomderoo asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure why you asked this twice (here and https://github.com/drud/ddev/discussions/4684) so we'll go with it here.

The docs are in https://ddev.readthedocs.io/en/latest/users/extend/customizing-images/#adding-extra-debian-packages-with-webimage_extra_packages-and-dbimage_extra_packages

But you almost certainly need php<phpversion>-xxx. You'll find that most of what you need (like bcmath, curl, fileinfo, intl, json) are already in DDEV. ddev php -i will show you that.

To add mailparse:

webimage_extra_packages: [php8.1-mailparse]

Change the php version as needed.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tomderoo
Comment options

@rfay
Comment options

rfay Feb 28, 2023
Maintainer

Answer selected by rfay
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