Question: what are the basic requirements to run a php program?
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.