is this tutorial valid for ubuntu 20.04? I have only ubuntu repos. https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/
It should work if you replace the debian repositories with the ubuntu repositories. So instead of using https://packages.sury.org/php/ issue command Code: sudo add-apt-repository ppa:ondrej/php
and as i understand I have to start from part 4 Add the repository at packages.sury.org (of couse not sury.org, I'll continue with ondrej) and I don't need to add new PHP versions under System > Additional PHP Versions. I think system will find installed php versions automaticly.
No, that's not what @Taleman said. You follow exactly all steps this guide: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ Except for the step where you add the repository, in this step you use Ondrej PPA instead of sury.
but in tutorial there are some notes like; You can skip this step if you do not have a Debian version of PHP installed. and ispconfig installed php 7.4 from default ubuntu repos, so my php version is not debian?
This refers to that you can skip the PHP version which is the default of your current OS. For Ubuntu, this is PHP 7.4 that you have already installed, and installing a PHP version again which you already have is not nescessary.
there is a PHP-FPM socket directory settings in System > Additional PHP Versions menu which is not mentioned in tutorial? I think this box should not be empty.
at vhost it's still 7.4 SetHandler "proxy:unix:/var/lib/php7.4-fpm/web20.sock|fcgi://localhost" shouldn't be 8.0?
No, as the number in the path you cited is not related to a specific PHP version. The directory /var/lib/php7.4-fpm/ is the central socket directory for all PHP-FPM sockets on your system, it is used by any PHP version on the server and the number in its name is no indication for any specific PHP version. Do not look at the vhost file, you can not see in that file which PHP version is used in that vhost. If you want to verify which PHP version is used in a vhost, the right way doing this is to add a phpinfo() file in the vhost and check the result in the browser.