I've been struggling to install PHP trade extension on macOS Mojave, but so far I haven't been able to do this. I run this command in terminal:
$ sudo pecl install trader
But, I got this error:
fatal error: 'php.h' file not found
include "php.h"
Then, I tried:
$ brew link --overwrite php
But I got another error:
Error: No such keg: /usr/local/Cellar/php
Does anyone knows about this errors or have any tutorial to help me to install it?