Knowledgebase: PHP / Programming
How do I set expose_php to Off?
Posted by Tony B., Last modified by Brian F. on 27 August 2020 09:17 AM
|
|
The expose_php setting reveals that PHP is installed on the server, which includes the PHP version within the HTTP header (e.g., X-Powered-By: PHP/7.3.13). The default PHP value is for this setting to be on and by default we use all reasonable PHP default settings for maximum compatibility. You can however set expose_php to off by doing the following:
| |
|
Comments (0)