# Install PHP 8

**URL:** <https://community.localwp.com/t/install-php-8/22673>\
**Category:** Completed Feature Requests\
**Created:** [October 29, 2020, 12:43am UTC](https://community.localwp.com/t/install-php-8/22673 "2020-10-29T00:43:19Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![afragen](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/afragen/32/31_2.png) [@afragen](https://community.localwp.com/u/afragen)\
**Post date:** [December 24, 2020, 1:03am UTC](https://community.localwp.com/t/install-php-8/22673/8 "2020-12-24T01:03:15Z")

</div>

Also `xdebug.start_with_request=trigger` is more appropriate as running the step debugger even when it is not activated in the IDE will generate warnings.

In summary, what seems to work consistently is if I change the `php.ini.hbs` file inside of `~/Library/Application Support/Local Beta/lightning-services/php-8.0.0+1/conf/php.ini.hbs` to contain the following.

```auto
xdebug.mode=debug
xdebug.client_port=9003
xdebug.start_with_request=trigger
xdebug.discover_client_host=yes

```

`xdebug.client_port` is an integer per [https://xdebug.org/docs/all\_settings#client\_port](https://xdebug.org/docs/all_settings#client_port)

Looks like a great opportunity to test the lightning services updater 😉

If you want the debugger always active as you have with `xdebug.start_with_request=yes` you should add `xdebug.log_level=0` to eliminate the errors that show in the log as if the debugger in the IDE isn’t running.

---

_[View the full topic](https://community.localwp.com/t/install-php-8/22673)._
