在我的ubuntu 16.04上安装Flarum(Laravel框架论坛)

时间:2017-11-15 19:32:44

标签: php laravel flarum

我按照本指南安装Flarum https://www.rosehosting.com/blog/install-flarum-on-an-ubuntu-14-04-vps/ 一切都差不多顺利,但当它促使我为我的用户创建新的php-fpm池时,我有点迷茫,并发现自己处于问题的中心。 指南说,我应该用该文本发出此命令,但是将[您的用户]更改为我的用户,所以在我的情况下,这将是root

 [user]$ sudo nano /etc/php/7.0/fpm/pool.d/your_user.conf
[your_user]
user = your_user
group = your_user
listen = /var/run/php-fpm-your_user.sock
listen.owner = your_user
listen.group = your_user
listen.mode = 0666
pm = ondemand
pm.max_children = 5
pm.process_idle_timeout = 10s
pm.max_requests = 200
chdir = /

每当我试图重启我的php-fpm时,我都会遇到问题。

● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor prese
   Active: failed (Result: exit-code) since Wed 2017-11-15 19:24:52 UTC; 19s ago
  Process: 18263 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/
  Process: 18251 ExecStartPre=/usr/lib/php/php7.0-fpm-checkconf (code=exited, st
 Main PID: 18263 (code=exited, status=78)

我可以帮忙吗?

0 个答案:

没有答案