If you are using WordPress 5.2 or above, you can find your server configuration by following this path:
Dashboard > Tools > Info tab
You’ll see various items that you can click on, but the one that we care about is PHP version which is under Server section:
If you’re using an older version of WordPress, and you don’t have Site Health item in the menu, you can install the following plugin: