Heim  >  Artikel  >  Backend-Entwicklung  >  在安装phalcon扩展的时候,在编译报错

在安装phalcon扩展的时候,在编译报错

WBOY
WBOYOriginal
2016-10-10 11:56:101007Durchsuche

在centos中,安装phalcon扩展,出现的这样的问题,百度没找到相关解决方案

在安装phalcon扩展的时候,在编译报错

------------------为了出现相同问题的同学找到答案----------------------
./install: line 24: php-config: command not found
php-config is not installed

回复内容:

在centos中,安装phalcon扩展,出现的这样的问题,百度没找到相关解决方案

在安装phalcon扩展的时候,在编译报错

------------------为了出现相同问题的同学找到答案----------------------
./install: line 24: php-config: command not found
php-config is not installed

你安装php时修改了安装路径吧?你找找/usr/local/bin/php-config有没有?
可以./configure --with-php-config=你的php安装路径/php-config指定一个配置文件

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn