本文操作环境:Centos6.8系统、PHP7.1版、DELL G3电脑php-config找不到怎么办?centos 中找不到 php-config两种解决方式:CentOS6 PHP extension install: Cannot
本文操作环境:Centos6.8系统、PHP7.1版、DELL G3电脑
php-config找不到怎么办?
centos 中找不到 php-config
两种解决方式:
CentOS6 PHP extension install: Cannot find php-config. Please use --with-php-config=PATH
yum install php-devel.
php-config 是一个简单的命令行脚本用于获取所安装的 PHP 配置的信息。
在编译扩展时,如果安装有多个 PHP 版本,可以在配置时用 --with-php-config 选项来指定使用哪一个版本编译,该选项指定了相对应的 php-config 脚本的路径。
php-config 脚本在命令行所能使用的选项可以通过 -h 选项来显示:
Usage: /usr/local/bin/php-config [OPTION]
Options:
--prefix [...]
--includes [...]
--ldflags [...]
--libs [...]
--extension-dir [...]
--include-dir [...]
--php-binary [...]
--php-sapis [...]
--configure-options [...]
--version [...]
--vernum [...]
--结束END--
本文标题: php-config找不到怎么办
本文链接: https://www.lsjlt.com/news/600.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0