Home  >  Article  >  Backend Development  >  linux - how to find php-config file

linux - how to find php-config file

WBOY
WBOYOriginal
2016-10-18 08:56:026343browse

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

Statement:
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