LoginSignup
0
2

More than 5 years have passed since last update.

【PHP】php.ini設定項目

Posted at

気になったところから随時更新

display_errors

エラーをHTML出力の一部として画面に出力するかどうかを定義します。
画面への出力は標準出力と同じなので、CLIでの実行でも同様。

設定項目 意味
1/ON 出力する
0/OFF 出力しない

※初期設定:OFF

ONにすると脆弱性なので、本番ではOFFにすること。

参考:PHPのdisplay_errorsが有効だとカジュアルにXSS脆弱性が入り込む

0
2
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
2