Steps to reproduce:
1.) Clean install of Ubuntu 18.04 minimal version
2.) install Cyberpanel with OLS (both actual from today)
3.) Set up a virtual Host with php 7.0 as preference
4.) Under that vHost add another Domain (Childdomain)
5.) verify both are working with phpinfo
6.) Change the childdomains php version to 7.2 and verify again it’s still working.
From here on i did the following steps:
1.) changed the childdomains php version to 7.0 and altered the php.ini in advanced mode. Removed a semikolon in front of mysqli.dll to get rid of the error message “Fatal error: Call to undefined function mysqli_connect() in”
2.) did that for the other php versions as well just to be sure if i want to switch in the future that i’ll not forget that.
3.) altered vHost Conf and changed the lines:
scripthandler {
add lsapi:vultras1234 php
}
to:
scripthandler {
add lsapi:vultras1234 php, html
}
in order to parse html files with php.
Any one of these 3 steps or all together made that the childdomain does fall back to php 5.6.36 and from that time on one can not change the childdomains php version within Cyberpanel anymore.
For the complete thread please look here

