Created
April 4, 2020 09:09
-
-
Save sumitpore/14ff41b6d260c133ea6e4848ea5f7b67 to your computer and use it in GitHub Desktop.
Installing pcov extension on MacOS to be used with Local by Flywheel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/krakjoe/pcov.git | |
cd pcov | |
/usr/local/bin/phpize | |
./configure | |
export INCLUDE_PATH=/Applications/Local.app/Contents/Resources/extraResources/lightning-services/php-7.3.5+3/bin/darwin/include | |
make CPPFLAGS="-I${INCLUDE_PATH}/php -I${INCLUDE_PATH}/php/main -I${INCLUDE_PATH}/php/TSRM -I${INCLUDE_PATH}/php/Zend -I${INCLUDE_PATH}/php/ext -I${INCLUDE_PATH}/php/ext/date/lib" | |
sudo make install | |
sudo cp $(php-config --extension-dir)/pcov.so /usr/local/php/extensions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment