PHP Startup: xxxx: Unable to initialize module

PHP Startup: mongo: Unable to initialize module
Module compiled with build ID=API20131226,NTS

PHP compiled with build ID=API20131226,NTS,debug
These options need to match
in Unknown on line 0
Unknown(0) : Warning – PHP Startup: mongo: Unable to initialize module
Module compiled with build ID=API20131226,NTS
PHP compiled with build ID=API20131226,NTS,debug
These options need to match

brew reinstall XXXX –build-from-source
brew reinstall XXXX(php56-mcrypt) –build-from-source