Home>Article>Backend Development> 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; 2. If you use source code installation, it is generally installed in [/usr by default /local/lib] directory.
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.
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!