tideways / php-xhprof-extension

This XHProf PHP extension fork has outlived its purpose and is archived in favor of the revitalized https://github.com/longxinH/xhprof
https://tideways.com
Apache License 2.0
1.64k stars 209 forks source link

Unable to build tideways. Fatal error during make. #75

Closed cyberpower678 closed 5 years ago

cyberpower678 commented 5 years ago

When running the make command to build tideways, it always comes back with fatal error: 'php.h' file not found

Obviously there should be a php.h somewhere and it's not with the tideways.

cyberpower678 commented 5 years ago

FTR, this was from following the instructions provided at https://tideways.com/profiler/xhprof-for-php7

beberlei commented 5 years ago

@cyberpower678 php.h is part of the dev headers of php itself, what system are you on? on Ubuntu/Debian for example there is a php7.2-dev package that you need to install.

cyberpower678 commented 5 years ago

I’m using macOS.

cyberpower678 commented 5 years ago

Hello? How do I install php-dev on MacOS?