Download Php5apache2_4.Dll Win64
You should not need to download php5apache2_4.dll from anywhere else, and I certainly wouldn't advise doing so. So http.conf should contain.
Now I am setting up Apache 2.4 port 85 and need to make it work with PHP also.
My PHP install didn't have the php5apache2_4.dll so I downloaded it from http://windows.php.net/download/
Both Are 32bit.
I added this to my apache config but I cant start the apache with this code in there.
Download Php5apache2_4.dll X64
I see lots of people having issue with this, telling them cant find DLL file but its clearly in that folder and correct type.The only difference is that my PHP is 5.6.0 and the download where I got the php5apache2_4.dll is 5.6.2
The error is misleading, its not saying its a wrong file or what ever. Its saying dll is not there but it is.
Can I even run Apache and IIS using the same PHP install?
Thanks
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
Php5apache2_4.dll-php-5.6-win64.zip Download
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:
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?
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: Toon boom storyboard pro 8.1.0.
Decameron el salvador paquetes familiares. I had the same error and have tried many means to correct the issue but the last one I tried, now worked.
Below is the code: