i tried adding a subdomain vhost in ispconfig 3.2.1, and it wouldn't let me select any of the additional php versions, the whole drop-down was empty. i've tried it selecting various servers, and with aliasdomain vhosts, same thing. i know it's not a problem with the additional php versions themselves. they are working fine on full websites, i can add a new website, select any server, and get a full list of the installed php versions on that server, just nothing for vhost sub/alias domains. i've updated the master server to 3.2.2, and tried again with a vhost subdomain on that server, and it still shows an empty list on the php-version drop-down, and the full list of php versions on the drop down when adding a full website. master/interface server is running ubuntu 18.04
additional: i've just checked already existing vhost subdomains, and they have the php version drop-down fully populated. i've tried again with a new subdomain vhost, php version is blank, if i change the php handler from php-fpm, which is set as the default, to eg disabled, or mod-php, and then back to php-fpm it's again fully populated. same if i switch from the default to fastcgi the php version is fully populated, and fully populated on switching back to php-fpm. so it appears to be affecting only the initial population of that drop-down on adding a new vhost sub/alias.
I have the same problem. Still not fixed after 2 years? I want to setup a new vhost subdomain and run this with a higher php verison. I can't get the dropdown populated, even after switching between php-fpm, Mod-PHP or Fast-CGI. It only shows "Default".
Did you not read what @till answerer to you in another thread? https://forum.howtoforge.com/thread...-version-in-resseller-mode.90455/#post-445899
Yes, I read it. And he mentioned that a vhost can have different PHP versions. My problem is, that I can't choose between the different installed PHP versions. When I'm creating a new vhost I have only the option "Default" for PHP Version to choose from. Thanks Christian
are the different php versions installed on that server? are the different php version configured as additional php versions in ispconfig for that server? the dropdown list of php versions only shows the versions that are configured in ispconfig for that particular server, if you have php 5.6, 7.0,7.1,7.2,7.3,7.4,8.0,8.1 and 8.2 configured on serverA, but only php5.6 and 7.0 configured on serverB, then when you try to create a new vhost on serverB the only versions in the dropdown list will be 5.6 and 7.0 it sounds like you only have the default php version configured for the server you're trying to create this new vhost sudomain on. additional php versions have to be configured in ispconfig separately for every server.
Many thanks for helping me out so quickly! I have ispConfig 3.2 and a client1. This client1 has domain-a.com configured as website. Under the PHP Version in the setup I can choose between my installed 3 PHP versions. Perfect! Now I want to add a vhost subdomain xyz.domain-a.com under the same client1. And here I can't choose a different PHP Version, although it is the same client1 and only a subfolder xyz under domain-a.com. So, the same server, only a subdomain under the same domain and still I can't chose the PHP Version, other than default.
Just tested in the current ISPConfig version, and selecting a different PHP version in a vhost subdomain works fine. Are you logged in as the client or as admin? If you are logged in as client, check if you can select a different PHP version as admin. And take care you are using latest PHP version, which is not 3.2. the current version is 3.2.9p1
Thanks Till. I'm using the latest ispConfig 3.2.9p1. There configured is PHP 7.4 I'm logged in as admin. That was the problem! I logged in as client1 and now I could choose the PHP Version. Strange, that it is this way. How comes? Is this a bug? Anyways, MANY thanks for your ultrafast response and help! So good!