PHP ã® error_log ã« syslog ãæå®ããéã«ä»ã®ãã°ã¨æ··ãããªãããã«ãã 2013-08-30-1: [PHP] PHP ã®ã©ã³ã¿ã¤ã ã®ã¨ã©ã¼ãã°ã§ããããã¡ã¤ã«ãæå®ãããã syslog çµç±ã«ããã»ããä½ãã¨æ¥½ã§ãã ãã¡ã¤ã«ã®å ´åã¯ãã¦ã¼ã¶æ¨©éã§å®è¡ãã¦ãã cli ã§ã®ã¨ã©ã¼ã¨ httpd ã§ã®ã¨ã©ã¼ã®ä¸¡æ¹ãè¨é²ããããã«ã ãã¼ããã·ã§ã³ããããããã 777 ã¨ãã«ããå¿ è¦ãããããããã¾ãããã syslog ã®å ´åã¯ç¹ã«ãããªãã¨æ°ã«ããå¿ è¦ãããã¾ããã php.ini ã§ä¸è¨ã®è¨å®ãããã ããªã®ã§ãããããã ãã ã¨ã¡ãã£ã¨é½åãæªãã§ãã sudo vim /etc/php.ini error_log = syslog ã¨ããã®ãéä¿¡ããããã°ã®ãã¡ã·ãªãã£ã¯ user ãªã®ã§ãä¾ãã° CentOS 6 ã 㨠/var/log/messages
{{#tags}}- {{label}}
{{/tags}}