Question: what are the software requirements for php?
Answer: The PHP engine. The supported version is PHP5. Downloads are available here.
The PHP debugger. The NetBeans IDE for PHP allows you to use XDebug, but using a debugger is optional. ... 
A database server. You can use various database servers while one of the most popular ones is the MySQL server.