I had a problem with xDebug for php 7.4 couldnt get it working properly. It was version 3.0. So I uninstalled the extension and then installed it again. Now its version is 3.1.6 and it was working fine.
So I realized that there is no way to update php extensions. No way to know that updated version is available. I guees you should do something about it
Best,
Michael