I am trying to setup apache2.4 on windows10 machine. I have downloaded the apache2.4 from apachelounge website, which I extracted and put in C drive. The lines I added in the httpd.conf file are-
LoadModule PHP5_module "c:/PHP/PHP5apache2_4.dll"
AddType application/x-httpd-php .php
httpd: Syntax error on line 522 of C:/Apache24/conf/httpd.conf: Can't locate API module structure `PHP5_module' in file C:/PHP/php5apache2_4.dll: No error
Try to change
LoadModule PHP5_module ... to
LoadModule php5_module ..., some time ago I had this problem and changing this line from upper case to lower case helped me