# How to upgrade to Xdebug v2.9.0 on Local Lightning

**URL:** <https://community.localwp.com/t/how-to-upgrade-to-xdebug-v2-9-0-on-local-lightning/15914>\
**Category:** Support\
**Tags:** xdebug\
**Created:** [December 9, 2019, 8:35pm UTC](https://community.localwp.com/t/how-to-upgrade-to-xdebug-v2-9-0-on-local-lightning/15914 "2019-12-09T20:35:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gnarhard](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@gnarhard](https://community.localwp.com/u/gnarhard)\
**Post date:** [December 9, 2019, 8:35pm UTC](https://community.localwp.com/t/how-to-upgrade-to-xdebug-v2-9-0-on-local-lightning/15914/1 "2019-12-09T20:35:52Z")

</div>

Xdebug just got updated to 2.9.0 and contains some really awesome new features. I’ve downloaded and “installed” Xdebug v2.9.0 but I can’t figure out how to get PHP to update which Xdebug version it’s using. I noticed the site containers have a php.ini.hbs file. I’m assuming these are specific to individual sites.

Does anyone know how to do a global Xdebug upgrade for all Local Lightning sites? I noticed there’s a setting in the php.ini.hbs file that looks like this:

```
[xdebug]
{{#if os.windows}}
zend_extension = php_xdebug.dll
{{else}}
zend_extension = {{extensions.xdebug}}
{{/if}}

```

Where is this extensions.xdebug pulling from? Can I override the extensions.xdebug variable with the global setting for the new Xdebug version?

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2020, 6:37pm UTC](https://community.localwp.com/t/how-to-upgrade-to-xdebug-v2-9-0-on-local-lightning/15914/2 "2020-08-25T18:37:58Z")

</div>


