I notice your /run directory is mounted as a temp filesystem, which should work but might be involved in whatever's gone wrong:
tmpfs 1218676 3820 1214856 1% /run
Fwiw, on my 20.04 system I have:
$ ls -l /var/run
lrwxrwxrwx 1 root root 4 Dec 17 2019 /var/run -> /run/
$ ls -ld /run
drwxr-xr-x 48 root root 1680 Oct 1 06:33 /run/
Can you check and see if your /run and /var/run are configured correctly, and see if creating the /var/run/php directory resolves the installation problem?
Hi vivek,
Does it work if you do:
$ sudo mkdir -p /var/run/php/
$ sudo systemctl restart php7.4-fpm
I notice your /run directory is mounted as a temp filesystem, which should work but might be involved in whatever's gone wrong:
tmpfs 1218676 3820 1214856 1% /run
Fwiw, on my 20.04 system I have:
$ ls -l /var/run
lrwxrwxrwx 1 root root 4 Dec 17 2019 /var/run -> /run/
$ ls -ld /run
drwxr-xr-x 48 root root 1680 Oct 1 06:33 /run/
Can you check and see if your /run and /var/run are configured correctly, and see if creating the /var/run/php directory resolves the installation problem?
I spotted this stackoverflow question that seems to match what you're seeing: /stackoverflow. com/questions/ 65841710/ installing- php-on- debian- returns- an-error- code
https:/