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: https://stackoverflow.com/questions/65841710/installing-php-on-debian-returns-an-error-code ** Changed in: php7.4 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1945687 Title: package php7.4-fpm 7.4.3-4ubuntu2.6 failed to install/upgrade: installed php7.4-fpm package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/1945687/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
