Setup: Centos 7.3.1611, Webmin 1.840, Virtualmin 5.07
I successfully installed multiple php versions as described in https://www.virtualmin.com/documentation/web/multiplephp. I’m trying to install Owncloud in one of my virtual domains, with PHP 7 as php version.
Owncloud requires modules (like GD) that are not available in (my install of) php 7. When I install these on the command line, they seem to become available for php 5.4.16 but not for php 7. So I tried this:
- copy gd.so from usr/lib64/php/modules to /opt/rh/rh-php70/root/usr/lib64/php/modules
- added extension=gd.so to the loaded php.ini, which is in the virtual domain at etc/php7.0
- restarted apache