在使用苹果的brew install homebrew/php/php55的时候提示 Cannot find OpenSSL's <evp.h>，官方建议查看https://github.com/homebrew/homebrew-php/issues，看一下，第二条就是。
在内容里有人回复，加个参数 吧。。brew install phpxx --with-brewed-openssl，但不幸的是，仍然报上述错误，这时候有人回复了一下，你先装个commandtools吧
- @Anei Wasn't sure which one, but I think this one did the trick:
- Yep, installing the Command Line tools directly from Apple did the trick:
- "Command Line Tools (OS X 10.10) for Xcode - Xcode 6.1.1" (169.94 MB)
- I didn't think that was a solution as I had went into the App Store update and I was "up to date" with the command line tools. Thanks / feel free to close.
本站采用创作共享版权协议, 要求署名、非商业和保持一致. 本站欢迎任何非商业应用的转载, 但须注明出自"膘叔", 保留原始链接, 此外还必须标注原文标题和链接.