Default location of php configuration files in linux
Linux, whose full name is GNU/Linux, is a set of UNIX-like operating system that is free to use and spread freely. Its kernel was first released by Linus Benedict Towaz in 1991. It is mainly inspired by the ideas of Minix and Unix. It is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX and Unix. It runs major Unix tools, applications, and network protocols.
This article takes a look at the default location of the php configuration file in linux. There is a certain reference value, friends in need can refer to, hope to help you.
Usually the default configuration location of php
/ usr/local/php/etc/php.ini
1. The specific way to find the linux php configuration file is to open the terminal and enter the find command to display the path of the php configuration file:
Find /-name php.ini
2. Then you can directly use the built-in instructions in php to find it. Using the following command, you can clearly see the configuration file used by the current php:
These are the default location details of the php configuration file in linux. For more information, please follow other related articles!