Building UE 4.27 fails due to missing Physx headers on Microsoft Windows

My UE5 source and UE4.27 source compiles perfectly without any errors But when i create my blueprint project and add c++ class and then copy the target file to make server file and do all other stuff to then build the Solution for Development Editor , i’m getting the same 48 or 49 list of errors and i don’t know what to do, i have built unreal 5 and 4.27 two times on two different PCs and nothing seems to work Followed all the instructions updated the visual studio 19 installed nudget, windows sdk and everything else, nothing seems to work and its been a week please help me!