Home > Backend Development > PHP Problem > How to hide php version number

How to hide php version number

王林
Release: 2023-03-04 16:30:01
Original
3944 people have browsed it

How to hide the php version number: first open the php.ini configuration file; then find the configuration expose_php and modify it to [expose_php = Off]; finally restart apache.

How to hide php version number

Specific method:

(Recommended tutorial: php graphic tutorial)

Open first php.ini configuration file;

Then modify the configuration expose_php = Off and save the configuration;

How to hide php version number

(Recommended video tutorial: php video tutorial)

Finally, restart the corresponding web server such as Nginx or Apache.

The above is the detailed content of How to hide php version number. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template