Test PHP locally!

Is there a way of testing PHP files locally, if so could you please post the software and a link to how to install/use or explain yourself, Thanks in advance :smiley: