von SAMIR ELFADIL.
what I understand from you reply that the php version is not necssary what shown by web, am I right?
when iI run /usr/bin/php -v from web root dir it shows php 5.6.
the Moodle site hosted in Hetzner, some where in Germany I guess.
the current server can't be upgrade, according to the host support, so I can't upgrade the current Moodle site.
lowest php is 5.6 and the highest is 8.3
no .htaccess file in the web root dir