I try to install mongodb drivers in Mac xammp but when I give command sudo ./pecl install mongodb in the xammp bin folder then I got error. The error is following
Users/ranaasad/.bitnami/stackman/machines/xampp/volumes/root/bin/pecl: line 28: /opt/lampp/bin/php: No such file or directory /Users/ranaasad/.bitnami/stackman/machines/xampp/volumes/root/bin/pecl: line 28: exec: /opt/lampp/bin/php: cannot execute: No such file or directory