gpt4 book ai didi

php - PHP 7.0 FastCGI 进程管理器启动失败

转载 作者:可可西里 更新时间:2023-11-01 13:27:34 25 4
gpt4 key购买 nike

我对 php7 有问题当我运行这个命令时,我得到了错误

sudo systemctl status php7.0-fpm.service

这个输出:

   ● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since سه<U+200C>شنبه 2016-06-28 17:58:08 IRDT; 4min 27s ago
Docs: man:php-fpm7.0(8)
Process: 14328 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=203/EXEC)
Main PID: 14328 (code=exited, status=203/EXEC)

ژوئن 28 17:58:08 khonok158 systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
ژوئن 28 17:58:08 khonok158 systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=203/EXEC
ژوئن 28 17:58:08 khonok158 systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
ژوئن 28 17:58:08 khonok158 systemd[1]: php7.0-fpm.service: Unit entered failed state.
ژوئن 28 17:58:08 khonok158 systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.

最佳答案

你可能必须这样做

apt-get install --reinstall php
systemctl start php7.0-fpm
systemctl enable php7.0-fpm
systemctl restart apache2

对我来说很管用。

root@micro:~# systemctl status php7.0-fpm.service
? php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-11-27 06:46:40 CET; 1 weeks 1 days ago
Docs: man:php-fpm7.0(8)
Main PID: 508 (php-fpm7.0)
Status: "Processes active: 0, idle: 2, Requests: 5736, slow: 0, Traffic: 0req/sec"
Tasks: 3 (limit: 4915)
CGroup: /system.slice/php7.0-fpm.service
tq508 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
tq755 php-fpm: pool www
mq756 php-fpm: pool www

关于php - PHP 7.0 FastCGI 进程管理器启动失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38079898/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com