Hello! I would like to ask why phpinfo in the root directory is always automatically generated?
phpcn_u45253
phpcn_u45253 2017-10-18 10:43:05
0
3
1039

phpinfo will leak some server information, so it can only be deleted. However, I found that every time after setting the port, etc., it will appear again after restarting. How should I cancel this?

phpcn_u45253
phpcn_u45253

reply all (2)
寻觅 beyond

This should be a function provided by the software itself, and why won't phpinfo be automatically generated after I change the port (phpinfo.php has been deleted before)?

You can add a line of code to your website homepage file and delete the phpinfo.php file;

    Day

    Because software users such as setting ports will automatically write a phpinfo file, so that the test server can open the php web page normally. Such settings should not be used frequently. If you feel that the settings are not needed, you can delete them. For more convenience If users want to open phpinfo after setting up, they may think there is a problem with the server.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!