It is strange way you are asking. A year or so I installed PHP Software Collections (php-scl) contrib. It was updated several times since then. So I got not only updates to php 5.6, 7.0, 7.1 but also new versions like 7.2 and 7.3 recently.
I thought that it will update everything automatically and setup new php versions as well. Obviously I was wrong.
7.2 and 7.3 were installed but not correctly. That is the story. Everything else is in my initial post.
Hope that clear any confusion.
Yup - makes more sense now thanks
I think normally you would use the remi-safe repo which is always enabled and if there are updates to the core php files you will get them
The SME php contrib specifically enables the PHP versions. We try to keep it up to date as new version s get released.
So when we say get php 7.4 then the sme contrib will get and update and then the correct rpms are pulled in from remi-safe. Hope that makes some sense.
Just had a look and can see this
ll /usr/bin/phpscl
total 28
-rwxrwx--- 1 root www 55 Feb 22 2015 php54_REMI
-rwxrwx--- 1 root www 55 Feb 22 2015 php55_REMI
-rwxrwx--- 1 root www 55 Feb 22 2015 php56_REMI
-rwxrwx--- 1 root www 55 Aug 15 21:23 php70_REMI
-rwxrwx--- 1 root www 55 Aug 15 21:23 php71_REMI
-rw-r--r-- 1 root root 55 Aug 15 21:23 php72_REMI
-rw-r--r-- 1 root root 55 Aug 15 21:23 php73_REMI
So yes it seems that for whatever good reason they have been installed with different ownership and permissions.
That's a bug and I can see why in the rpm spec file. I'll fix that ASAP.
To test if any given version is basically working you should use this on the CLI
php56 -v
php70 -v
php71 -v
php72 -v
php73 -v
etc.
[root@test]# php73 -v
PHP 7.3.0 (cli) (built: Dec 4 2018 18:26:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
So we know the basics are there and running.
You then need to apply it globally or per ibay through the server manager (or CLI)
https://bugs.contribs.org/show_bug.cgi?id=10662It should be in smetest tomorrow - follow the bug for progress.