linux – configure:错误:找不到php-config.请使用–with-php-
发布时间:2020-12-13 18:12:13 所属栏目:Linux 来源:网络整理
导读:我正在尝试安装一个名为phraseanet的程序.我运行./configure命令并遇到此错误: configure: error: Cannot find php-config. Please use --with-php-config=PATH 我使用的是Ubuntu 10.04,Apache 2,PHP5和Mysql 5 有谁知道我在哪里可以找到php-config?我找不
我正在尝试安装一个名为phraseanet的程序.我运行./configure命令并遇到此错误:
configure: error: Cannot find php-config. Please use --with-php-config=PATH 我使用的是Ubuntu 10.04,Apache 2,PHP5和Mysql 5 有谁知道我在哪里可以找到php-config?我找不到那个文件…. 解决方法
要使用php-config,您需要安装PHP开发包,在Ubuntu中您可以使用以下命令安装PHP5开发包:
sudo apt-get install php5-dev 安装php5-dev软件包后,(在我的Ubuntu安装上)可以找到php-config: /usr/bin/php-config (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |