PHP errors when installing owncloud

It seems that didn´t match the PHP version of Apache with the PHP in command line. have updated the PHP version of the Apache web server, from 7.2 to 7.4:

To enable php7.4: a2enmod php7.4
To disable php7.2: a2dismod php7.2
Restart apache.

Now this is my configuration in Apache:

Configuration File (php.ini) Path /etc/php/7.4/apache2
Loaded Configuration File /etc/php/7.4/apache2/php.ini
Scan this dir for additional .ini files /etc/php/7.4/apache2/conf.d

I could see now the ownCloud installation page, instead of the blank page I got before when I had PHP errors.

1 Like