Setting up php7.1-fpm (7.1.29-1+ubuntu16.04.1+deb.sury.org+1) ... NOTICE: Not enabling PHP 7.1 FPM by default. NOTICE: To enable PHP 7.1 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php7.1-fpm NOTICE: You are seeing this message because you have apache2 package installed. Job for php7.1-fpm.service failed because the control process exited with error code. See "systemctl status php7.1-fpm.service" and "journalctl -xe" for details. invoke-rc.d: initscript php7.1-fpm, action "restart" failed. ● php7.1-fpm.service - The PHP 7.1 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.1-fpm.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since 목 2019-05-09 00:23:33 KST; 9ms ago Docs: man:php-fpm7.1(8) Process: 31581 ExecStart=/usr/sbin/php-fpm7.1 --nodaemonize --fpm-config /etc/php/7.1/fpm/php-fpm.conf (code=exited, status=78) Main PID: 31581 (code=exited, status=78) 5월 09 00:23:33 virtual-machine systemd[1]: Starting The PHP 7.1 FastCGI Process Manager... 5월 09 00:23:33 virtual-machine php-fpm7.1[31581]: [09-May-2019 00:23:33] ERROR: [/etc/php/7.1/fpm/php-fpm.conf:125] unknown entry ':include' 5월 09 00:23:33 virtual-machine php-fpm7.1[31581]: [09-May-2019 00:23:33] ERROR: failed to load configuration file '/etc/php/7.1/fpm/php-fpm.conf' 5월 09 00:23:33 virtual-machine php-fpm7.1[31581]: [09-May-2019 00:23:33] ERROR: FPM initialization failed 5월 09 00:23:33 virtual-machine systemd[1]: php7.1-fpm.service: Main process exited, code=exited, status=78/n/a 5월 09 00:23:33 virtual-machine systemd[1]: Failed to start The PHP 7.1 FastCGI Process Manager. 5월 09 00:23:33 virtual-machine systemd[1]: php7.1-fpm.service: Unit entered failed state. 5월 09 00:23:33 virtual-machine systemd[1]: php7.1-fpm.service: Failed with result 'exit-code'. dpkg: error processing package php7.1-fpm (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: php7.1-fpm
apt-get update
apt-get upgrade
이 두가지를 작성 한 후 innodb 오류는 해결했습니다.
하지만, 위 내용처럼 php7.1-fpm 에 문제가 있다고 나오는데 무슨 문제인지 모르겠습니다.
fpm 관련파일중에 conf 확장자 파일의 소유자를 www-data로 바꿔보라는 영문글이 있어서 바꿔도 보고
php를 재설치하는 방법을 해봐도 안되네요 ㅜ
반복적으로 빨간색으로
Failed to start The PHP 7.1 FastCGI Process Manager.
code=exited, status=78
에러코드가 이렇게 나타납니다.
'/etc/php/7.1/fpm/php-fpm.conf' 파일의 내용을 확인해보니 텅빈 문서입니다.
/etc/php/7.1/fpm/php-fpm.conf . 125줄 주석삭제