Mac下 php-fpm failed to open error_log

[28-May-2018 14:25:58] ERROR: failed to open error_log (/usr/var/log/php-fpm.log): No such file or directory (2)[28-May-2018 14:25:58] ERROR: failed to post process the configuration[28-May-2018 14:25:58] ERROR: FPM initialization failed

一直以为php-fpm的配置文件 是在这里/usr/local/etc/php/7.0/php-fpm.****** 

可以改了再执行sudo php-fpm -D还是报错,说明执行的目录不是这里

找了半天原来在/private/etc/php-fpm****这里呵呵哒

你可能感兴趣的:(Mac下 php-fpm failed to open error_log)