Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
XAMPP エラー報告をミュートしたいので、display_error値を On から Off に変更し、サービスを再起動しました。しかし、再起動後もエラーメッセージが表示されました。なぜこのようになっているのかわかりません。
display_error
スクリプトで PHP からエラーを取り除きたい場合は、
error_reporting (0);
編集:ああ。完全に無効にしますか?ページの読み込みを引き起こさない小さなエラーを見逃す可能性があるため、私はそれをしません。