Submitted by just_me on Wed, 04/11/2018 - 01:16
This time i have a strange one:
i Installed Debian 9.4 with PHP 7.0, then added 5.6 for compatibility. Then i had upgrademessages for various packages, and did a bulk update. Which added PHP 7.2 to the system.
Interestingly enough, Webmin shows both PHP 7.x versions, but not 5.6. On the other hand Virtualmin shows all three of them.
I really don't know, what to make out of this.
Do we talk about a bug or is it by design?
Thanks and best
Submitted by andreychek on Wed, 04/11/2018 - 09:39 Comment #1
Howdy -- there's likely a PHP 5.x config file in the user's home directory that Virtualmin is picking up on.
What output do you see when going into System Settings -> Re-Check Config though?
Submitted by just_me on Wed, 04/11/2018 - 12:09 Comment #2
i did, and it was rolling through, but didn't made a difference in webmin. Checking my /etc/php/apache2 folder, showed me this: 5.6 7.0 7.1 7.2
It keeps creating PHP versions literally over night. I never knew, i would have 7.1 too. From timestamp i assume he created 7.1 together with 7.2 when i ran all the updates, which, virtualmin/webmin told me would be available.
Thanks and best.
For backwards compatibility i wanted to have 5.6 as well as 7.0, those two were intended to be installed on the server,...
Submitted by andreychek on Wed, 04/11/2018 - 12:22 Comment #3
Running the "Re-Check Config" wasn't to fix the problem you're experiencing... I was hoping to use the information it outputs to help us understand what PHP versions it is detecting.
That said, I don't believe there are alternate PHP repos for Debian that we officially support, so I don't actually have a recommendation for you on how to get different PHP versions working.
However, we could at least look into why you're seeing the behavior you described.
Submitted by just_me on Wed, 04/11/2018 - 15:28 Comment #4
I ran that again and it said this: The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
(Here it said before, that php.ini files were missing but being created)
.. your system is ready for use by Virtualmin.