C
C
Chvalov2016-08-08 12:31:58
linux
Chvalov, 2016-08-08 12:31:58

Problem running PHP 7 on Debian 8, how to solve?

On restart it service php7-fpm restart
gives the following error:

Failed to restart php7-fpm.service: Unit php7-fpm.service failed to load: No such file or directory.
The file along the path /etc/init.d/php-7.0-fpm is present
bf088694002e401babd32976bdd2541d.png
service php7-fpm status
● php7-fpm.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

How to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Chvalov, 2016-08-08
@Chvalov

According to the instructions, it should be php7-fpm, but I have php7 .0 -fpm

● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled)
   Active: active (running) since Mon 2016-08-08 09:32:50 UTC; 15min ago
     Docs: man:php-fpm7.0(8)
 Main PID: 662 (php-fpm7.0)
   Status: "Processes active: 0, idle: 2, Requests: 10, slow: 0, Traffic: 0req/sec"
   CGroup: /system.slice/php7.0-fpm.service
           ├─662 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
           ├─721 php-fpm: pool www
           └─722 php-fpm: pool www

S
shagguboy, 2016-08-08
@shagguboy

https://packages.debian.org/search?keywords=php7.0
still 7.0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question