PHP开启错误日志
修改PHP配置文件php.ini找到log_errors,如果没有开启,先修改为On在下面增加error_log = /home/php_error.log,然后重启PHP错误日志会输出到/home/php_error.log
阅读全文
修改PHP配置文件php.ini找到log_errors,如果没有开启,先修改为On在下面增加error_log = /home/php_error.log,然后重启PHP错误日志会输出到/home/php_error.log
阅读全文
添加rc-local.servicecat > /etc/systemd/system/rc-local.service <<EOF
[Unit]
Description=/etc/rc.local
ConditionPathExists=/etc/rc.local
[Service]
Type=forking
ExecStart=/etc/rc.local start
T...
阅读全文
解决方法在make命令后面增加CFLAGS='-Wno-implicit-fallthrough'示例make CFLAGS='-Wno-implicit-fallthrough'
阅读全文