After googling for about an hour can\'t find any solution that works for me. I\'m on OS X 10.9 Mavericks.
Here is what the terminal says:
$ sudo pecl
Here is how I solved this after installing Xcode:
cd /usr/include sudo ln -sf /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/php