作成
ApacheのエラーログからPHPの警告をなくす。
デフォルトだといっぱいエラーが出ると思いますので。 ###command tail -f /var/log/httpd/error_log ###command error PHP Notice: Undefined offset: PHP Notice: Undefined index: ### apacheのLogLevelをwarn→error にして ###command vi /etc/httpd/conf/httpd.conf ###source ret #debug, info, notice, warn, error, crit,alert, emerg. LogLevel error ###command vi /etc/php.ini ###source ret error_reporting = E_ALL & ~E_NOTICE ; ### に変更し、Apache起動 ###command service httpd restart
wakatta 記法
投稿の仕方
基本的な記法
エンジニア向け記法
記法のサンプル
このコンテンツを見る