It would help if you tell us the type of operating system. PHP only works in conjunction with the web server software, so you need to take that into consideration.
If you are just wanting a test platform for development, it might make more sense to set up a local system with Apache, mySQL and...