I use ispconfig with multi servers. Everything works fine. But when I add a site in master cp, I cant't select php version when I select a slave server, It's okay if I select the master server. I'd like to know if I miss something? Thanks.
You need to install the PHP Version on the slave node aswell. And add them in the Systemconfig at "Additional PHP Version"
Take care to add the PHP versions that are available on the target node for that target node under system > PHP versions.
Here is screen shot of my master server and slave server. I've installed all versions of php. If I need to add my slave server's php version to master server. Thanks a lot.
The slave server can not have an ISPConfig GUI, so you clearly made a mistake in your system setup, which explains your issues. And besides that, the PHP versions are not available on the master for the slave nodes, that's why you can't select them.
I use the command install the slave server ` wget -O - get.ispconfig.org | sh -s -- --use-nginx --no-mail --no-dns --interactive ` and follow this tutorial (tutorial/ispconfig-multiserver-setup-debian-ubuntu/2/) install it. I don't know why I have the ISPConfig GUI for slave server. But it doesn't matter , it works fine now. Another question , if the PHP versions are not available on the master for the slave nodes, how can I add a website in slave server with a custom PHP version. Thanks.
When creating the website you choose which server to put in on. Then choose the PHP version for that website. If the additional php versions are installed on the slave, they can be selected.
The installer asked you if the web interface shall be installed, you should have chosen 'n' as shown in the tutorial but you seem to have chosen 'y' there. It will work as long as you do not login to the GUI on the slave. As soon as you login there and add or change something, your multiserver setup will fall apart and break. You must add the PHP versions on the master. An never login to the GUI on the slave again, or you'll break the setup.
If your slave is not in production, it may be advisable to just reinstall the node and set it up correctly.
Thanks for ur kindly reply. I have additional php versions installed on this slave node, But they're missed.
Installing web server is fine if the slave shall run websites, but you should not have enabled the ISPConfig GUI.
If it's mean that I must manual add all PHP versions on the master each time when I add a new node, Thank you.