Download Php5apache2_4.dll Win64

Posted By admin On 10.01.20
Active10 months ago

When trying to use PHP 5.6.30 with Apache 2.4 there seems to be a somewhat well-known issue (outside of using Docker) but there does not seem to be any real solution for fixing the issue. I am getting the following error:

httpd.exe: Syntax error on line 534 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found.

Examining the directory of C:php (inside the Docker container) I see the DLL is clearly there

This answer talks about making sure to use the same bit version (I am using 64 bit) and to also make sure the versions are thread safe, which they are. Here, in my Dockerfile, you can see the links to the 64 bit thread-safe versions of Apache and PHP:

Open your browser and type, localhost/info.php for the location and you should receive alot of information about PHP. MySQL Download and install mysql-installer-community-5.6.26.0.msi.Change installation directory to C: MySQL MySQL Server 5.6 instead of Program files as there could be permissions issues. Apache Lounge is not sponsored. This server suggests it is Win64. But there is no php5apache2_4.dll in the download. Then I got php-5.4.10-nts-Win32. Stack Exchange Network Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Php5apache2.dll download. The Php5apache2.dll file is a dynamic link library for Windows 10, 8.1, 8, 7, Vista and XP. You can fix 'The file Php5apache2.dll is missing.' Which version: For Apache Server 2.2, you need to download PHP 5.4 thread safe, which is shipped with both php5apache2_2.dll and php5apache2_4.dll. Some earlier versions probably work as well. PHP 5.5 is only shipped with php5apache2_4.dll which will mismatch with your version. First question is did you add c: php to your path environment and also since you are using php 7 you need to use LoadModule php7_module “c:/php/php7apache2_4.dll” and make sure you have the VC15 version, they must match.

Download Win64e10

Note the Visual Studio compiler is for 2015. Do I really need to level the playing field for using the compiler?

Finally, the following lines in the httpd.conf (line 534, mentioned in the error, is the line starting with LoadModule)are what is causing the error to show in the Docker logs for the container when started. I have them commented out at the moment so I could get Apache to start as a stand-alone (allowing me to examine what is going on inside of the container).

I plan to deploy some existing PHP code in the container and do not want to upgrade to PHP7 (which will create more work to fix some things with code which will fail on PHP7). Outside of upgrading to PHP 7 is there any other way to fix the issue?

Jay Blanchard
Jay BlanchardJay Blanchard
36.6k12 gold badges59 silver badges101 bronze badges

2 Answers

You will need to install prior versions of the VC Redistributable since later versions do not cover earlier ones. The version used to compile it should be indicated on the mirror you downloaded it from. The Windows download page on the official PHP site indicates 2014 was used but you may have luck with 2012 as well.

You should also set up your configuration as such:

Dissident RageDissident Rage
1,5631 gold badge16 silver badges26 bronze badges

Download Php5apache2_4.dll X64

I had the same error and have tried many means to correct the issue but the last one I tried, now worked. Driver ibm proprinter ii for win 7.

Below is the code:

Folakemi GbadamosiFolakemi Gbadamosi

Download Php5apache2_4.dll Win64

Not the answer you're looking for? Browse other questions tagged phpapachedockerwindows-server-2016 or ask your own question.