Hi,
I’ve some difficulty with PHP and Nginx installation. I followed this tutorial.
I’ve probleme with systemctl configuration. I know what I must put for: /etc/systemd/system/default.target.wants/nginx.service
[Unit]
Description=Nginx HTTP daemon
Requires=network.target syslog.target
After=syslog.target networking.target
[Service]
Type=forking
PIDFile=/var/run/nginx.pid
ExecStartPre=/bin/echo 'Starting httpd (Nginx)'
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
StandardOutput=syslog
StandardError=syslog
ExecStop=/usr/sbin/nginx -s quit
[Install]
#WantedBy=multi-user.target
WantedBy=graphical.target
But I don’t know what I must put for php-fpm.service and mysql.service.
Thank you for youre help.