I just set up a test environment on a Debian 9 with Webmin/Virtualmin both latest versions. I created a virtual server, users, database and so on.
I Re-Checked the configuration and it says "... your system is ready for use by Virtualmin". In "PHP Versions" section it says "Your system only has PHP version 7.0.33 installed, so selecting a different version for each directory is not possible."
I was able to install phpMyAdmin 4.9.5 because PHP 7.1 is not available on this system from Debian's repository and is working as expected.
I wanted to install RoundCube and both versions in the list 1.4.8 (Latest) and 1.2.12 (LTS) refused to install. I got this error message: "Failed to install script: Could not find any values in section PHP". Screenshot attached.
Any thoughts?
Comments
Submitted by JamieCameron on Sun, 10/25/2020 - 15:32 Comment #1
Can you attach the
etc/php.ini
file under the domain's home directory to this bug report?Submitted by ADDISON74 on Sun, 10/25/2020 - 16:28 Comment #2
It is the default one created by Virtualmin with a few small changes for upload file size. What tags shall I use in my comment to post the whole file content?
You could use <pre></pre> tags. It might be not needed - simply try changing PHP script execution mode to something else for the virtual server on Server Configuration > Website Options page. It may just auto-fix it.
Submitted by ADDISON74 on Mon, 10/26/2020 - 04:40 Comment #4
I tried your suggestion switching PHP execution mode from Apache mod_php to CGI wrapper and FCGId. The same error message "Failed to install script : Could not find any values in section PHP". For both versions in the list. I will try Debian 10 which comes with a higher version of PHP. If this is related to PHP versions it should be fixed. Please note I was able to install phpMyAdmin 4.9 (runs on PHP 7.0) but not 5.0 (which requests a higher version) but at least it was a warning there.
Submitted by ADDISON74 on Sat, 01/30/2021 - 09:03 Comment #5
it should be here
Submitted by ADDISON74 on Mon, 10/26/2020 - 04:47 Comment #6
did not work. Probably there are other tags in PHP file that change the formatting. Sorry for that reply.
Your PHP ini file was misedited. There are many un-commented lines, which are meant to be commented.
Example:
.. the words: "statements" "use" "look" "this" "be" "log" "bytes." "RSA" and many other must be commented out.
Your previous editor freaked out. Use in-built File Manager editor to edit php.ini - it also has code highlight.
> did not work. Probably there are other tags in PHP file that change the formatting. Sorry for that reply.
Yeah, all `<` must be replaced with `<`
@ADDISON74
hi there... I am long time debian user since debian 4.. I recently noted your issue while I was updating my laptop with gnome but since I am web dev and can read the terminal php 4.xx was abandoned and labeled as security risk by sources from php it self - long time ago, the reason it did worked so long is people laziness to learn new code while debian 9 provided 5.xxx it has been abandoned as too many sites has been hacked. Now debian 9 supports php7 as default and if you not like it I might suggest you some other distro like ubuntu etc - which brings me bad why ubuntu is great and bad as well. Debian is base and when they select best approach is not taken lightly usually discussion takes months or years. - keep on updating - you are safe.