What is the path for yum to install php?

藏色散人
Release: 2023-03-02 07:18:01
Original
2696 people have browsed it

The path where yum installs php is in the "/usr/local/lib" directory. You can find the path where yum installs php by executing the command "php -i | grep "Loaded Configuration File"".

What is the path for yum to install php?

The default installation path of php after yum installation under linux

PHP:

If using 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 generally installed in /usr/local/ by default

php configuration file in the lib directory: /usr/local/lib/php.ini

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

Related:

Find the path where yum installs php:

Execute the following command

php -i | grep "Loaded Configuration File"
Copy after login

For more related knowledge, please visit PHP Chinese website!

The above is the detailed content of What is the path for yum to install php?. 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