Where is the directory where yum installs php?

藏色散人
Release: 2023-03-01 21:06:02
Original
3016 people have browsed it

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!

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!