linux - how to find php-config file

WBOY
Release: 2016-10-18 08:56:02
Original
6295 people have browsed it

After using yum to upgrade php, the php-config file cannot be found when installing the extension?

Reply content:

After using yum to upgrade php, the php-config file cannot be found when installing the extension?

Generally in /etc/config-php in the environment installation directory

First check if there is php-congig (mine is under /usr/local/bin/php-config, if not, you can find it through find), if there is, add - when compiling -with-php-config=path/to/php-config, if not, you need to execute: yum install php-devel (This has not been verified, I have installed it)

find / -name php-config find command just search it

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!