yum The php installation directory is in the "/etc/" directory, and the php configuration file is located in "/etc/php.ini". If you use source code installation, it is generally installed in "/usr/local" by default. /lib" directory.
The default installation path of phpl after yum installation under Linux:
If you use RPM package installation, the installation path should be in
php configuration file in the /etc/ directory:/etc/php.ini
If you use source code to install, it 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 introduction:
Yum (full name Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora, RedHat and CentOS. Based on RPM package management, it can automatically download and install RPM packages from designated servers, automatically handle dependencies, and install all dependent software packages at once, without the need to download and install them again and again.
For more related knowledge, please visit PHP Chinese website!
The above is the detailed content of Where is the yum php installation directory?. For more information, please follow other related articles on the PHP Chinese website!