Last update at :2024-07-01,Edit by888u
There is a joke in the industry that many of my friends may have heard of. When asked what the servers they buy are usually used for, many people will say that they are used for probes. So what exactly is a probe? In fact, the probes we often talk about are generally used to detect the load of the server and the compatibility of the server's WEB environment software version. For example, sometimes our WEB environment requires a certain version of a certain software to be supported, so we use probes to detect whether it is installed and to detect the version.
What are our commonly used PHP probe tools? Generally, snails use the phpinfo naming that comes with PHP, which can check most of the current software versions. Or we use Yahei PHP probe more often. In this article, Snail has compiled 4 commonly used PHP probe tools. In fact, they all have similar functions. Some of them have been beautified. If necessary, we can see which one you may use.
First, phpinfo
Generally we edit the php file in the root directory of the website, such as info.php, and then enter the code on the page.
Then we open the info.php page in the browser and we can see the probe status. This is the most basic. We may have seen it after installing some programs, usually to detect the PHP version or install components.
Second, Yahei Probe
Yahei Probe is a relatively complete probe tool that supports PHP. Yahei probe is generally used for PHP mitigation. It can view server hard disk resources, memory usage, network card traffic, system load, server time and other information in real time, and refresh it once every second. And including server IP address, Web server environment monitoring, php and other information.
We can see whether the system parameters tested by the Yahei probe are complete.
Third, UPUPW PHP probe
UPUPW is a server WEB-side panel tool, so they also have a built-in UPUPW PHP probe page in the root directory after installing the panel mitigation, so some people will use this probe tool.
UPUPW PHP probe has a simpler function than Yahei probe, but it can also detect most server parameters.
Fourth, self-built probe tool
Generally, the open source tools we commonly use are the above three PHP probes, but there are also some PHP probes that are user-defined PHP scripts. We can see that many source code websites provide PHP user-built probes. Scripting tools. For example, some are modified from the simplified version and beautified version of Yahei, and the PHP code we use is directly defined by ourselves according to our needs.
To summarize, during our daily website building process, if you are good at scripting, you can directly use the script command line to check whether it is compatible with software support, or we can directly use a PHP probe tool similar to the one introduced above to detect system environment parameters and software versions. .
Recommended site searches: China Unicom virtual host, godaddy registered domain name, virtual space free trial, Ministry of Industry and Information Technology domain name registration, IP view, domain name query, Beijing server rental, server hosting, space rental asp.net space,
发表评论