Upgrading PHP on VPS and WordPress

Hello,
Does anyone know why WordPress does not update the PHP version I have on the VPS?
I recently updated the PHP for a domain where I have WordPress installed but it still registers the old version of PHP.
Do I have to modify any file?
Why is it still registering the old version?

Thanks community

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