[PHP] Error: Error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.0.0”. You are running 7.4.33. at /var/www/html/nextcloud/apps/contacts/vendor/composer/platform_check.php#24 at <>
Nextcloud > System> PHP reports I am running version 8.0.27 as does an info.php file in /var/www/html
However, from server console: php --version reports 7.4.33
I have included php 8.0-fpm.conf in my nextcloud vhost file.
I would really like to solve this problem because I am having problems with Maps App not placing contacts on its map. Contacts App seems to be working fine but it is mentioned in the log error message.
go to file
nextcloud/apps/contacts/vendor/composer/platform_check.php
change the line on the top
if (!(PHP_VERSION_ID >= 80000)) {
to
if (!(PHP_VERSION_ID >= 70000)) {
save and exit