Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save antruongnguyen/5b09ba0ea74a6f9b5cd4619190973a4a to your computer and use it in GitHub Desktop.
Save antruongnguyen/5b09ba0ea74a6f9b5cd4619190973a4a to your computer and use it in GitHub Desktop.
Installing xdebug on macOs Mojave - 'php.h' file not found

Installing xdebug on macOs Mojave - 'php.h' file not found

Reinstall the command line tools

xcode-select --install

Reinstall the header files

sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment