Hi, thanks for answering!
I installed PHP 7.4 from ppa:ondrej/php, along with adding the repositories ppa:ondrej/nginx and ppa:ondrej/pkg-gearman to support nginx and gearman.
By running the command you mentioned, I got PHP 8.2, even though I had installed a bunch of PHP 7.4 extensions and PHP 7.4 was installed. I just removed PHP 8.2 packages and it already tells me I have PHP 7.4.
A new message appears by running 'php symfony tools:install' :
Failed to make cache directory "/usr/share/nginx/atom/cache/qubit/cli/config" while generating cache for configuration file "config/config_handlers.yml".
By the way, since I installed nginx I can't restart it. Now, when I run 'sudo systemctl restart nginx' it shows:
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details.
By running 'systemctl status nginx.service' it shows:
× nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-08-03 17:49:13 WEST; 50s ago
Docs: man:nginx(8)
Process: 60258 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
CPU: 13ms
ago 03 17:49:13 [my laptop] systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
ago 03 17:49:13 [my laptop] nginx[60258]: nginx: [emerg] open() "/etc/nginx/sites-enabled/atom" failed (2: No such file or directory) in /etc/nginx/nginx.conf:>
ago 03 17:49:13 [my laptop] nginx[60258]: nginx: configuration file /etc/nginx/nginx.conf test failed
ago 03 17:49:13 [my laptop] systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
ago 03 17:49:13 [my laptop] systemd[1]: nginx.service: Failed with result 'exit-code'.
ago 03 17:49:13 [my laptop] systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-13/13 (END)
I checked /etc/nginx/sites-enabled and there is an invalid shortcut in there... In /etc/nginx/sites-available there is "atom".
If it's possible to solve these problems, it'd be great; otherwise, I'll try to install it on Ubuntu 20.04...