Support the ongoing development of Laravel.io →
Configuration Homestead

What is the best way to change PHP ini values when provisioning a Homestead box?

E.g. I want to change the value of display_startup_errors to On.

Would you find/replace the value in the php.ini file using sed? Do I just put the commands in after.sh or is it better to use config.vm.provision "shell"?

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.