# PHP Debugging ### 1. PHP 7.4 and Xdebug 2: - Download [Xdebug 2](https://xdebug.org/announcements). - Edit `/etc/php/7.4/apache2/conf.d/20-xdebug.ini`: ``` zend_extension=/usr/lib/php/20190902/xdebug.so xdebug.remote_enable=1 xdebug.remote_autostart=1 xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up