Greetings friends! I am struggling to configure my Centos 7.3 server to work with newer versions of PHP via the command line. They are showing up in the system check
The following PHP versions are available : 5.4.16 (/bin/php-cgi), 5.5.21 (/opt/rh/php55/root/usr/bin/php-cgi), 7.0.27 (/opt/rh/php70/root/usr/bin/php-cgi), 7.1.30 (/opt/rh/rh-php71/root/usr/bin/php-cgi), 7.2.24 (/opt/rh/rh-php72/root/usr/bin/php-cgi)
After this message I get the following error:
The following PHP-FPM versions cannot be used : 5.4.16 (Apache module mod_proxy is missing or not enabled)
Unfortunately (for me at least) I cannot find any definitive procedure on how to change the PHP in the CLI nor can I find which version of mod_proxy to install much less how to configure it. If you have experience with these issues, you help is highly appreciated! Thanks!!
You can change PHP version and execution mode from UI. There is no need to use CLI, unless you have to. Type in autocomplete search bar for Website options and PHP.