Home>Article>Backend Development> Where is the php directory installed by yum under linux?

Where is the php directory installed by yum under linux?

coldplay.xixi
coldplay.xixi Original
2020-07-27 16:36:58 4283browse

The location of the PHP directory installed by yum under Linux: 1. If you use RPM package installation, the installation path should be in the [/etc/] directory; 2. If you use source code installation, it is generally installed in [/usr by default /local/lib] directory.

Where is the php directory installed by yum under linux?

The location of the php directory installed by yum under linux:

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

php configuration file:

/etc/php.ini

2. If you use source code installation, it is generally 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

Related learning recommendations:PHP programming from entry to proficiency

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