Home >Backend Development >PHP Problem >What to do if expose_php doesn't work

What to do if expose_php doesn't work

藏色散人
藏色散人Original
2021-09-02 10:54:022204browse

Solution to why expose_php does not work: 1. Find and open the php.ini configuration file; 2. Set "expose_php=Off" to "On".

What to do if expose_php doesn't work

The operating environment of this article: Windows7 system, PHP7.0.31 version, Dell G3 computer

What should I do if expose_php does not work?

【php】expose_php function

php.ini:

expose_php = On

expose_php = Off

##php.ini core configuration option:

Language option-expose_php bool, means: determine whether to expose PHP when it is installed on the server (for example, add its signature in the header of the Web server: X-Powered-By: PHP/5.3.7).

Recommended learning: "

PHP Video Tutorial"

The above is the detailed content of What to do if expose_php doesn't work. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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