Open a .PHP file

I want to open a .PHP file in Yii

actually like this

instead going to controller to create a view and action.

Help me Any way.

do you want to show the source code or process the file?

With htaccess rules mentioned here you should be able to access php file directly.

put your php file under root folder you should be able to access it let say for instance you have test.php file, you can point your browser to