Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

skeith22's avatar

Homestead.yaml mongodb: true not installing mongo database

has anyone tried installing mongodb lately using the Homestead.yaml file?

mine is not installing the mongodb at all

0 likes
3 replies
AndrewPLGD's avatar
Level 1

After struggling with this for a couple hours, I found it (and it was staring me in the face the whole time). The syntax changed in version 9.0.0 and the documentation hasn't been updated. The new syntax is:

features:
    - mongodb: true

Try adding that to the config.

3 likes

Please or to participate in this conversation.