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

Where is the yum php installation directory?

藏色散人
藏色散人Original
2020-07-10 09:09:384173browse

yum The php installation directory is in the "/etc/" directory, and the php configuration file is located in "/etc/php.ini". If you use source code installation, it is generally installed in "/usr/local" by default. /lib" directory.

Where is the yum php installation directory?

The default installation path of phpl after yum installation under Linux:

If you use RPM package installation, the installation path should be in

php configuration file in the /etc/ directory:/etc/php.ini

If you use source code to install, it is generally installed in the /usr/local/lib directory by default

php configuration file: /usr/local/lib/php.ini

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

Related introduction:

Yum (full name Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora, RedHat and CentOS. Based on RPM package management, it can automatically download and install RPM packages from designated servers, automatically handle dependencies, and install all dependent software packages at once, without the need to download and install them again and again.

For more related knowledge, please visit PHP Chinese website!

The above is the detailed content of Where is the yum php installation directory?. 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