Where is the php directory installed by yum under linux?

coldplay.xixi
Release: 2023-03-03 11:42:01
Original
4325 people have browsed it

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
Copy after login

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
Copy after login

or

/usr/local/php/etc/php.ini
Copy after login

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!

Related labels:
yum
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!