Submitted by Nsis_licensing on Fri, 03/08/2019 - 09:12 Pro Licensee
So PHP 7.3 shows up in 'PHP Information' under 'Website Options' but under 'Services' the configuration is not listed for 7.3. It is selectable as a PHP version, just no config file, how do i create that for all my sites?
Status:
Active
Comments
Submitted by Nsis_licensing on Fri, 03/08/2019 - 09:12 Pro Licensee Comment #1
Submitted by Nsis_licensing on Fri, 03/08/2019 - 09:41 Pro Licensee Comment #2
Submitted by Nsis_licensing on Fri, 03/08/2019 - 09:53 Pro Licensee Comment #3
Once again i solved this myself.
The solution is to copy the php.ini from /etc/php/7.3/apache2 to /home/<username>/etc/php7.3/php.ini
Then make sure you chown -R the folder to the owner.
Submitted by hescominsoon on Fri, 03/08/2019 - 11:02 Pro Licensee Comment #4
virt should do this for you IMO
Submitted by Nsis_licensing on Fri, 03/08/2019 - 12:25 Pro Licensee Comment #5
it does if you switch to that version of PHP but not until then. It should do it when a new version of PHP is detected.
Submitted by jabowery on Fri, 03/06/2020 - 15:43 Pro Licensee Comment #6
delete me
Try re-running Re-Check Configuration.
As an alternative, you could always set default PHP version by using this command:
update-alternatives --set php /usr/bin/php7.2
For your information, PHP 7 removes mysql extension, leaving only mysqli, or PDO available.
Submitted by monsieurQ on Wed, 07/08/2020 - 07:16 Comment #8
Same issue for me after installing php7.4 on Ubuntu 16 (multiple PHP versions). I recheck the config within Virtualmin and I can select PHP7,4 under Server Configuration > PHP Versions and apply it. Afterwards though it won't appear under Services > PHP7.4 Configuration.. and sites don't run with it enabled. (500 Internal server..mod_fcgid: error reading data from FastCGI server).
I believe this is no longer an issue in upcoming Virtualmin 6.10. It should be coming to official Virtualmin repos this weekend.
Alternatively, GPL version can be installed from webmin.com website, usually sooner.
Submitted by jimdunn on Sat, 07/11/2020 - 18:59 Pro Licensee Comment #10
Ilia, just an FYI... at this moment, the GPL INSTALL.SH is version 6.1.1 and the GITHUB version is 6.2.0