Home >Backend Development >PHP Tutorial >mac 10.10 phpize问题

mac 10.10 phpize问题

WBOY
WBOYOriginal
2016-06-06 20:38:29957browse

<code>PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
</code>

版本不一致,导致memcache扩展加载失败。有遇到同样问题的朋友么?

回复内容:

<code>PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
</code>

版本不一致,导致memcache扩展加载失败。有遇到同样问题的朋友么?

sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include

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