Win64 and VC15 for both (I am confident the "Win32" in php download doesn't signify a Win32 version after spending much time researching if that was my problem).
Download Php5apache2_4.Dll Win64 install#
When i type localhost in my browser it shows It works but when i try to install PHP, i get always this error: apache 2.2.4 cannot load php5apache24.dll into server: 1 is not a Win32. To test both together create a PHP file phpinfo.php in d:etcwww.Now browse in the browser as. Download Php5apache24.dll Download I wanted to install Apache and PHP without using xampp. I believe these are compatible bit and binary versions. Download Php5Apache24.Dll Win64 But I believe some others might want to up to date installing VC9 PHP and Apache in windows system. The versions I downloaded are: httpd-2.4.29-Win64-VC15 These are the same files used to configure the Unix version, but there are a few different directives for Apache on Windows. But then when I add this bit to install PHP, the following error comes up: httpd: Syntax error on line 535 of C:/Apache24/conf/nf: Cannot load C:/php/php7apache2_4.dll into server: %1 is not a valid Win32 application. Download Apache is configured by the files in the conf subdirectory. Without this, Apache runs completely fine. For NTS binaries the widespread use case is interaction with a web server through the FastCGI protocol, utilizing no multithreading (but also for example CLI). LoadModule php7_module "C:/php/php7apache2_4.dll" Use case for TS binaries involves interaction with a multithreaded SAPI and PHP loaded as a module into a web server. Here's the lines I added to the bottom of the nf file: AddHandler application/x-httpd-php. But I've triple checked and quadruple checked that they are the correct versions. So almost all the time, this problem is down to a mismatch of Windows x32/圆4 versions of Apache and PHP or the respective Binary versions.