Maison >développement back-end >tutoriel php >mac brew install redis 报错
<code>/usr/local/opt/php55/bin/phpize /usr/local/opt/php55/bin/phpize: line 61: /usr/local/Library/ENV/4.3/sed: No such file or directory /usr/local/opt/php55/bin/phpize: line 62: /usr/local/Library/ENV/4.3/sed: No such file or directory /usr/local/opt/php55/bin/phpize: line 63: /usr/local/Library/ENV/4.3/sed: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: /usr/local/opt/php55/bin/phpize: line 155: /usr/local/Library/ENV/4.3/sed: No such file or directory autoheader: error: AC_CONFIG_HEADERS not found in configure.in</code>
<code>/usr/local/opt/php55/bin/phpize /usr/local/opt/php55/bin/phpize: line 61: /usr/local/Library/ENV/4.3/sed: No such file or directory /usr/local/opt/php55/bin/phpize: line 62: /usr/local/Library/ENV/4.3/sed: No such file or directory /usr/local/opt/php55/bin/phpize: line 63: /usr/local/Library/ENV/4.3/sed: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: /usr/local/opt/php55/bin/phpize: line 155: /usr/local/Library/ENV/4.3/sed: No such file or directory autoheader: error: AC_CONFIG_HEADERS not found in configure.in</code>
<code>vi `which phpize` </code>
找到 SED="/usr/local/Library/ENV/4.3/sed"
改成 SED="/usr/bin/sed"