Dear Experts, I have just upgraded my Ubuntu 20.04 ISPConfig3 to Ubuntu 22.04. It seems that every thing works as expected. Today, when I issued netstat -nl in a terminal, I found that there were some strange problems about php-fpm sockets. These were the records: The problem is - I have already disabled and stopped php7.4-fpm.service and set web2 to use php 8.1 inside ISPConfig. How come the first line in the netstat table? How do I repair it?
Nothing strange in that output as the numbers in the paths are not PHP versions. I explained that many times in the forum already So this /var/lib/php7.4-fpm/web2.sock is not PHP 7.4, it can be any PHP version. php7.4-fpm is just a folder name that has no relation to the PHP version used in that site. the number depends on when you first installed that server. So nothing is wrong and therefore no need to repair anything.
It seems that something about the old and new default php versions are recorded. So I moved every web site domain to use php8.2. Then, stop Nginx. Start it again. The php7.4-fpm socket disappears.
This was not a php7.4-fpm socket You just moved the socket to another folder, the name can be freely chosen, this is not related to a specific PHP version at all.