php -v
service nginx status
[/QUOTE]
Разобрался. Надо было обновить репозитории. Но код все равно не отрабатывается.
root@enotfilm:~# php -v
PHP 7.0.33-0+deb9u3 (cli) (built: Mar 8 2019 10:01:24) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-0+deb9u3, Copyright (c) 1999-2017, by Zend Technologies
root@enotfilm:~# service nginx status
● nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en
Active: active (running) since Sun 2019-06-02 23:10:15 MSK; 4min 50s ago
Docs:
http://nginx.org/en/docs/
Process: 29325 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCC
Process: 29357 ExecReload=/bin/kill -s HUP $MAINPID (code=exited, status=0/SUC
Process: 29329 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited
Main PID: 29330 (nginx)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/nginx.service
├─29330 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.con
├─29359 nginx: worker process
└─29360 nginx: cache manager process
Jun 02 23:10:15 enotfilm systemd[1]: Stopped nginx - high performance web server
Jun 02 23:10:15 enotfilm systemd[1]: Starting nginx - high performance web serve
Jun 02 23:10:15 enotfilm systemd[1]: Started nginx - high performance web server
Jun 02 23:10:45 enotfilm systemd[1]: Reloading nginx - high performance web serv
Jun 02 23:10:45 enotfilm systemd[1]: Reloaded nginx - high performance web serve