Home  >  Article  >  Backend Development  >  How to check the installation directory of php under linux?

How to check the installation directory of php under linux?

烟雨青岚
烟雨青岚Original
2020-06-13 10:15:383889browse

How to check the installation directory of php under linux?

How to view the PHP installation directory under Linux:

1. First, connect to the corresponding Linux host, enter the Linux command line state, and wait for the shell command to be entered.

How to check the installation directory of php under linux?

#2. Enter the shell command on the linux command line: find / -name *php*.

How to check the installation directory of php under linux?

3. Press the "Enter" key on the keyboard to run the shell command. At this time, you will see that the php installation directory is in /usr/local/lib/php.

How to check the installation directory of php under linux?

Recommended tutorial: "php tutorial"

The above is the detailed content of How to check the installation directory of php under linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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