Hello, installed perfect server centos 8 following your detailed how to. I've also install an additional php version (5.6) But now phpmyadmin uses this one rather than the default. I get the message PHP 7.1.3+ is required. Currently installed version is: 5.6.40 php -v gives Code: PHP 7.4.26 (cli) (built: Nov 16 2021 15:31:30) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.26, Copyright (c), by Zend Technologies Any ideas?
Addtitional PHP versions are possible, but must be added so the OS default PHP version remains the same it was originally. Consult https://www.ispconfig.org/documentation/ chapter "Using multiple PHP versions". See how to turn the default PHP version back.
Websites do work with any PHP version, but ISPConfig must have the PHP version that is default for the OS. Seems neither does PHPMyAdmin work with PHP 5.6, but requires 7.x. I do not use CentOS so I do not know how this is done there, but on Debian and Ubuntu the most recently installed PHP version becomes the default PHP and command update-alternatives must be used to change the OS default back to what it was originally.
You might not notice it directly when using the wrong PHP version as only some functions will not work. In general, ISPConfig will work with PHP between 5.6 and 7.4, it will not work with PHP 8.x yet.
I wrote I do not know how to do it. Surely CentOS users can help you out. Or Internet Search Engines with Code: centos 8 default PHP version