Strange Problem with timezone/date in php

OS type and version AlmaLinux 9.4
Virtualmin version 7.10.0

I’ve server time and system time correctly set to Europe/Rome and I’ve set Europe/Rome in php.ini.
But when php save a file on the server the new file created is 2 hour older.
Php doesn’t consider the timezone correctly? or the system?
In the file php saving the new file I’ve set
Is there something I’m missing?
Thanks for any help

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.