PHP versions section not available in Virtualmin 6.15

Hi, after upgrade to Virtualmin 6.15 Pro and Webmin 1.973 the section "PHP Versions", under "Server configuration", has been disappeared for server owners and also for root user.

The file /usr/share/webmin/virtual-server/edit_phpver.cgi is not present after upgrade.


Virtualmin version: 
Webmin version: 


Ilia's picture
Submitted by Ilia on Fri, 03/12/2021 - 08:01


Thanks for contacting us.

Yes, correct. It's now located under servname - Server Configuration ⇾ PHP Options page (new edit_phpmode.cgi file). This is due to re-work to consolidate all PHP related options into a single page. Explained here.

Ah, ok. I didn't see as domain owner because seems dependant of "Can edit website options" (under Administration options -> Edit owner limits"), even if "Can select PHP versions" is enabled.

User have to be "Can edit website options" enabled, right?

Ilia's picture
Submitted by Ilia on Fri, 03/12/2021 - 12:18

I think you are looking for phpver and phpmode options. Perhaps the following will help more:

# virtualmin help modify-limits
    Changes the owner limits for some virtual server

    This command allows you to change various limits that apply to the owner
    of a virtual server when they are logged into the web interface. The
    domain to effect is selected with the "--domain" or "--user" flag, which
    must be followed by a top-level domain name or administrator's username

    To grant the domain owner access to some Virtualmin feature (such as
    "mysql" or "webalizer"), use the "--allow" flag followed by the feature
    code. To prevent access, use "--disallow" instead. Both flags can be
    given multiple times.

    To change the number of domains that can be created, use the
    "--max-doms" flag followed by a number or the word "UNLIMITED". To
    prevent him from creating domains at all, use "--max-doms NONE".
    Separate limits can be imposed on the number of alias and non-alias
    domains with the "--max-aliasdoms" and "--max-realdoms" flags.

    Limits on the numbers of databases, mailboxes and mail aliases that can
    be created are set with the "--max-dbs", "--max-mailboxes" and
    "--max-aliases" flags respectively. Each must be followed either with a
    number, or the word "UNLIMITED".

    To grant the domain owner access to Virtualmin UI capabilities such as
    editing aliases or users, the "--can-edit" flag should be used, followed
    by a capability code. Supported codes and their meanings are :

    "domain" - Edit Virtual server details such as the description and

    "users" - Manage mail / FTP users

    "aliases" - Manage email aliases

    "dbs" - Manage databases

    "scripts" - List and install scripts

    "ip" - Change the IP address of virtual servers

    "dnsip" - Change the externally visible (DNS) IP address of virtual

    "ssl" - Generate and upload SSL certificates

    "forward" - Setup proxying and frame forwarding

    "redirect" - Create and edit website aliases and redirects

    "admins" - Manage extra administrators

    "spam" - Edit spam filtering, delivery and clearing settings

    "phpver" - Change PHP versions

    "phpmode" - Change website options and PHP execution mode

    "mail" - Edit email-related settings

    "backup" - Backup virtual servers

    "sched" - Schedule automatic backups

    "restore" - Restore virtual servers (databases and home directories

    "sharedips" - Move to different shared IP addresses

    "catchall" - Create catchall email aliases

    "html" - Use the HTML editor

    "allowedhosts" - Can edit the remote IPs allowed access to MySQL

    "passwd" - Can change a virtual server's password

    "spf" - Can edit the DNS sender permitted from record

    "records" - Can edit other DNS records

    "disable" - Disable virtual servers

    "delete" - Delete virtual servers

    Access to capabilities can also be taken away with the "--cannot-edit"

    To restrict the virtual server owner to only installing certain scripts
    (when using Virtualmin Pro), you can use the "--scripts" flag followed
    by a quoted list of script codes. To grant access to all script
    installers, use the "--all-scripts" flag instead.

yes, it is, phpmode and phpver, thanks.