I forgot to replace the default php.ini file with by custom version after the PHP upgrade. That is probably the issue.