Home  >  Article  >  Backend Development  >  phph No such file or directory

phph No such file or directory

WBOY
WBOYOriginal
2016-07-29 09:03:061700browse

php.h No such file or directory

Yesterday , I tried to install mcrypt plugin for php in Mac OSX . I did the step by step fromhttp://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

xcode-select --install

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.

转自:http://www.saturngod.net/articles/php-h-no-such-file-or-directory/

以上就介绍了phph No such file or directory,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn