我正在尝试使用以下命令安装pthread:
sudo pecl install pthreads
但是,在执行此操作时,我收到以下错误消息:
checking checking for ZTS... configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled ERROR: /private/tmp/pear/install/pthreads/configure' failed
有人知道如何在启用ZTS的情况下重新编译PHP吗?我使用的是MAMP3.0.2,我以为运行phpize会重新编译php,但是当我这样做的时候,我得到了这个错误:
Cannot find config.m4. Make sure that you run '/Applications/MAMP/bin/php/php5.5.10/bin/phpize' in the top level source directory of the module
发布于 2014-05-07 12:31:54
不能在生成后启用ZTS,必须安装线程安全版本。
phpize是一个为扩展生成autoconf foo的工具。
https://stackoverflow.com/questions/23500022
复制相似问题