Home >Backend Development >PHP Problem >What to do if expose_php doesn't work
Solution to why expose_php does not work: 1. Find and open the php.ini configuration file; 2. Set "expose_php=Off" to "On".
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!