Roundcube - Failed to install script : Could not find any values in section PHP

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?

Status: 
Active
Virtualmin version: 
6.12
Webmin version: 
1.955

Comments

Can you attach the etc/php.ini file under the domain's home directory to this bug report?

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?

Ilia's picture
Submitted by Ilia on Mon, 10/26/2020 - 04:03

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.

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.



did not work. Probably there are other tags in PHP file that change the formatting. Sorry for that reply.

Ilia's picture
Submitted by Ilia on Mon, 10/26/2020 - 04:57

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.

Ilia's picture
Submitted by Ilia on Mon, 10/26/2020 - 04:59

> 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 `&lt;`

unborn's picture
Submitted by unborn on Tue, 10/27/2020 - 08:38 Pro Licensee

@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.