Home > Backend Development > PHP Tutorial > The installation process of php probe under Linux

The installation process of php probe under Linux

黄舟
Release: 2023-03-17 09:54:01
Original
5422 people have browsed it

In our previous article, we only introduced to you how to use the php probe and how to use it! So how do we installphp probes? Or is it installed under Linux? First of all, learning the Linux system is still very interesting. The following is a PHP probe. Someone must have seen a similar interface!
Mainly used to check the running status of your own server. Just look at the memory usage and running time.

1 First To install Apahce and php, the command is as follows:

yum -y install httpd php
Copy after login

2 Then start httpd, the command is as follows:

/sbin/service httpd start
Copy after login

At this time you browse You should be able to see the Apahce interface by entering your server's IP address

3 Then you need to download the probe. The most commonly used probe is Yahei's probe
Official website:

http://www.yahei.net/
Copy after login

Find the version and language you want to use, right-click to download, copy the link address
For example:

http://www.yahei.net/tz/tz.zip
Copy after login

Then go to your command line interface
OK Just find a place wget http://www.yahei.net/tz/tz.zip to download
You can also download to the fixed file /var/www/html
Run cd /var/www/html first and then run Download command

4 After downloading, you need to unzip the file
unzip tz.php and
cp tz.php /var/www/ to download to other places html/index.php
To download to /var/www/html, use mv tz.php index.php
If your port 80 is not occupied, open the IP address and you can see the probe interface

5 If other software occupies port 80, you need to modify the port

vi /etc/httpd/conf/httpd.conf
Copy after login

Find

#Listen 12.34.56.78:80
Listen 80
Copy after login

Click i to edit,
Change the second line 80 to your favorite port
Esc:wq Press Enter to save
After modification, you can only access it in the form of IP:port

Summary:

After seeing this, I believe many friends can’t help but want to give it a try. In fact, installing the php probe is so simple, and mastering its essentials, everything is It’s not a problem, friends, try it now!

Related recommendations:

A case of php probe detecting virtual host configuration information

Recommendation of php probe program


How to use the php probe environment Example of detection code


#What is a php probe? What does php probe do?



The above is the detailed content of The installation process of php probe 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