PHP extension sodium - get working with IIS

Hi

We need to get the PHP extension sodium working with IIS. We have added it to php.ini and added to the Windows PATH to point to the .dll.

There seems to be instructions for Apache (copy the dll to the Apache directory), but we are using IIS. The below code always returns false. We have also downloaded the sodium .dll from the Windows site and tried to use that. We get the same result. We are using PHP v.8 on a windows server.

<?php var_dump(extension_loaded('sodium')); ?>

Any help or direction on this will be appreciated.