Deployment on IIS of yii Framework

Hi, I want to set up my Yii Framework application on the IIS. kindly help me by giving steps to using IIS Server for my Yii Framework application.

When I use IIS for my Yii Based Application, it shows an internal server error screen.

My project requirement is PHP version 7.4. Kindly help me configure PHP 7.4.

try something like this