• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Input For security reasons: Turn off outputting PHP Version and also Webserver Version

Jan Bludau

Basic Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
18.0.58
Domain PHP Configuration: Add the following lines for security reasons:

Code:
exposephp = off
servertokens off

Why didn’t Plesk decide to make these lines available as options in Plesk? In my opinion, it’s irrelevant which version I use when it comes to port scanning or Showdan.io. Especially with Showdan.io, you can filter vulnerable computers in seconds, for example, find problematic web servers or PHP versions.

I suggest providing options in the GUI for ON / OFF, although someone at Plesk should first explain to me why these version numbers of web servers like Nginx / Apache and PHP should be made public at all. Here are my suggestions for GUI options:

  • “Display PHP version publicly” = On / Off (default: exposephp = off)
  • “Display web server version” = On / Off (default: servertokens off)
If you like this feature you can vote here For security reasons: Turn off outputting PHP Version and also Webserver Version
 
Back
Top