I'm trying to run
sudo /Applications/XAMPP/bin/pecl install mongodb
and i got
fatal error: 'unicode/usprep.h' file not found
I've found solutions using brew but on my mac I use mac ports, is there is a solution using port
I'm trying to run
sudo /Applications/XAMPP/bin/pecl install mongodb
and i got
fatal error: 'unicode/usprep.h' file not found
I've found solutions using brew but on my mac I use mac ports, is there is a solution using port
Here is what I finally did, I've manually installed the php extension following those steps:
1.I've downloaded mongodb php source from https://pecl.php.net/package/mongodb
2.Uncompress the tgz and go into the directory
3.
/Applications/XAMPP/xamppfiles/bin/phpize4.
./configure --with-mongodb-sasl=no5.
make all6.
sudo make install7.add
extension=mongodb.soat the end of php.iniet voila