Where is the directory where yum installs php?

王林
Release: 2023-03-07 08:28:01
Original
2791 people have browsed it

The directory where yum installs php is under /etc/, or under /usr/local/lib. If you use the rpm package to install, the PHP configuration file is in /etc/php.ini; if you use the source code to install, the PHP configuration file is in /usr/local/lib/php.ini.

Where is the directory where yum installs php?

Using different installation methods, the installation path is different, as follows:

(Recommended video tutorial: java video tutorial)

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

php configuration file: /etc/php.ini

If you use the source Code installation 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 recommendations: php training

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