Use PHPINFO to implement the PHP configuration statistics process

Source: Internet
Author: User

As we all know, the php (as the mainstream development language) info () used to display server configurations is a very useful tool for installing new servers, it is also a very useful tool for communication with various administrators.

Of course, after use, it is usually removed or only provided to a small number of people. Indeed, php (as the mainstream development language) info itself may be very dangerous. Sometimes it may even have XSS injection defects. Even if you think it is safe, php (as the mainstream development language) info will also expose some of your configuration structures, so we recommend that you keep it away.

Unfortunately, it is very common to use the info page of php (as the mainstream development language) as part of the web server, in addition, search engines often pick up their information, with thousands of php (as the mainstream development language) info () on various search engines such as yahoo. You only need to search for php on your yahoo (as the mainstream development Language) info () GoogleBot and "Zend Scripting Language Engine" to see them. Read the Ilias article-how to protect your php (as the current mainstream development language) info () Reliably locating php (as the current mainstream development language) info (18 visites )).

Of course, on the other hand, it is a great fortune for us to collect so much information about php (as the mainstream development language) info in the world. Once we get the URL address, we only need to download the php (as the current mainstream development language) info () file, then we analyze it and store it as the corresponding data, these are what I am doing.

On intrenet, I got 12000 php (as the mainstream development language) info (). Here we reference 11048 useful examples. 11000 of the millions of php (as the mainstream development language) sites can only be regarded as a small drop in the ocean. However, compared with the number of search engines such as google, it also accounts for 1%, so it can also represent some opinions.

How much information can we get from these databases? Is this just an interesting common connection? Many people think that it is not easy to obtain info information about php (as the current mainstream development language) in the search engine, and even requires some luck. Such determination is not a good thing. In fact, let me teach you how to search for your website's php (as the mainstream development language) info page, using this format of php (as the mainstream development language) info site: yoursite.com then you will be very surprised.

On the other hand, 11000 is a large number. After collecting the info information of these php (as the mainstream development language), I used to compare the distribution and quantity of various php (as the mainstream development language) versions. Among them, 87% is quite good. In general, this information is quite representative.

Well, after finishing this long introduction, we got some interesting data from these materials. Finally, php (as the mainstream development language) info contains a lot of information. I extracted some cross content as a template.

End

Configuration data is always unexpected or unexpected. After reading the data, we found that there are still many areas for guidance.

Generally, many configurations are very common values. We found that many developers who use php (as the current mainstream development language) do not have a detailed understanding of php (as the current mainstream development language ). the content of the INI file and learn about it ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.