When installing RoundCube on a top-level it gives error on duplicate `public_html/public_html`

When installing RoundCube on a top-level it gives error on duplicate public_html/public_html directory like this:

cp: cannot overwrite non-directory '/home/username/domains/mail.username.com/public_html/public_html' with directory '/tmp/.webmin/447775_23510_2_script_install.cgi/roundcubemail-1.3.6/public_html'

Status: 
Active

Comments

Howdy -- I tested this just now, but I didn't run into that problem on my test system.

Could you confirm which version of RoundCube you're installing? The two versions available in the most recent RoundCube Install Script are 1.3.6 and 1.2.8.

Also, on the Server Configuration -> Website Options screen, what are the PHP script execution mode and Website documents sub-directory options set to?

Lastly, if you go into Server Configuration -> PHP Versions, what PHP version does it say it's set to for the public_html folder?