Home  >  Article  >  Backend Development  >  Where is the directory where yum installs php?

Where is the directory where yum installs php?

藏色散人
藏色散人Original
2020-07-03 10:04:043034browse

The yum installation php directory is located in the "/etc/" directory or the "/usr/local/lib" directory, and the corresponding php configuration files are located in "/etc/php.ini" or "/usr/" local/lib/php.ini".

Where is the directory where yum installs php?

The default installation path of PHP after yum installation under Linux

PHP:

If you use RPM package installation, the installation path should be in the /etc/ directory.

php configuration file:/etc/php.ini

If you use source code installation, it is usually installed in /usr by default.

php configuration file in the /local/lib directory: /usr/local/lib/php.ini

or /usr/local/php/etc/php.ini

Recommendation: "PHP Tutorial"

The above is the detailed content of Where is the directory where yum installs php?. For more information, please follow other related articles on the PHP Chinese website!

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