Installing WordPress on Windows 8 using XAMPP but PHP not running

Solution:

Go and check C:\xampp\apache\conf\httpd.conf if php module is loaded or if this line exist Include “conf/extra/httpd-xampp.conf”. If not then add this line: Include “conf/extra/httpd-xampp.conf”, but before go and check if this file exists. If this file doesn’t exists then add this line to httpd.conf: LoadModule php5_module “C:/xampp/php/php5apache2_2.dll”

Open CMD and exec this command:

c:\xampp\apache_start.bat

Output of this command will show error, why the apache doesn’t start, if it doesn’t start.