How to check the installation directory of php under linux?

烟雨青岚
Release: 2023-04-08 21:10:02
Original
3975 people have browsed it

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!

Related labels:
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