Question: what are the hardware and software requirements for php?
Answer: Operating System: Linux, Unix, Windows.
Web Server: Apache Web Server, LigHTTPD, IIS (with ISAPI_Rewrite installed)
PHP Version: ... 
Database: MySQL 5.1 or above, MariaDB 10.0 or above, Microsoft SQL Server 2005 or above.
Optional Requirements.