Yesterday , I tried to install mcrypt plugin for php in Mac OSX . I did the step by step from http://www.coolestguidesontheplanet.com/install-mcrypt-php-mac-osx-10-9-mavericks-development-server/ . However, I got the php.h: No such file or directory when running the /usr/bin/phpize
It didn’t describe the article also. I already installed the command line tool from Xcode. But the error was showing.
I miss the following step
I need to install xcode-select from terminal. It will take the time for installing. After installation completed , I can run phpize and there is no error anymore.