LoginSignup
0
0

More than 5 years have passed since last update.

httpヘッダーからPHPのバージョンを隠す

Last updated at Posted at 2017-09-13

備忘録として

環境

PHP 7.0.21

設定箇所

/etc/php.ini


expose_php = Off


参考

コア php.ini ディレクティブに関する説明

expose_php boolean
PHP がサーバーにインストールされていることを全世界に晒し、PHP のバージョンも HTTP ヘッダに含めます

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0