# After changes to development/php.yml what command do I use to update?

**URL:** https://discourse.roots.io/t/after-changes-to-development-php-yml-what-command-do-i-use-to-update/10292
**Category:** trellis
**Created:** 2017-08-24T22:49:18Z
**Posts:** 7
**Showing post:** 6 of 7

## Post 6 by @fullyint — 2017-08-25T19:09:43Z

The full set of php settings available for you to configure in Trellis can be viewed in the defaults for the [php role](https://github.com/roots/trellis/blob/4459ab5b9eb7f7cd235debb62eab23ba18820b72/roles/php/defaults/main.yml) (and a few in the [wordpress-setup role](https://github.com/roots/trellis/blob/4459ab5b9eb7f7cd235debb62eab23ba18820b72/roles/wordpress-setup/defaults/main.yml)).

> [@Adding a PHP extension without editing the php role directly?](https://discourse.roots.io/t/adding-a-php-extension-without-editing-the-php-role-directly/9662/2):
>
> Regarding the defaults in any `trellis/roles/<rolename>/defaults/main.yml` files, they have the lowest [priority](http://docs.ansible.com/ansible/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable) and they live to be overridden by your redefinition in `group_vars` files.

The `group_vars/development/php.yml` file is an example of overriding some defaults. Staging and production use the defaults and thus don’t have any overriding `group_vars/<env>/php.yml` files.

Ok you’re not using Bedrock. The only php differences I can think of that Trellis makes for development are in that `group_vars/development/php.yml` file. Could you try commenting out all those configs and rerunning the `vagrant provision`? Then the Trellis-controlled php configs should be the same for your dev and staging.

Any other differences between dev and staging would probably be in your own custom code, as far as I know. You might double-check your own settings for WP\_DEBUG etc. Maybe also compare relevant `php_info` output from dev vs. staging.

> [@brightsite](#):
>
> Haven’t “widely researched” the warnings.

Ok. If the above steps don’t help, just be sure you’ve researched these warnings enough to support the assumption that their display is a matter of settings in php (vs. something else).

---

_[View the full topic](https://discourse.roots.io/t/after-changes-to-development-php-yml-what-command-do-i-use-to-update/10292)._
