Azure is the virtualization of guest operating systems. So what counts isn't anything found in Azure, but in the guest operating system running the moodle.
Go to php info in your moodle again.
On the very top line of php info labeled 'system'. What does that show for your moodle?
The fact you stated restarting apache and nginx (there is no nginx for Windows) indicates there could be mulltiple php.ini's ... however, in the same php info page there are two other rows ... one labeled Configuration File (php.ini) Path
Loaded Configuration File which shows path and php.ini file.
Did you edit the php.ini file that your Guest OS server says it Loaded?