Reputation: 40301
I am trying to run PHP 5.6 on Apache 2.4. I installed Apache 2.4 as a service on Windows Server 2012.
I downloaded and installed Apache 2.4.20 Win64. Then I downloaded php 5.6.23 VC11 x86 Non Thread Safe binaries
The last step that is needed to load php module in Appache to use php.
LoadModule php5_module "c:/php/php5apache2_4.dll"
The problem is that the file php5apache2_4.dll is not found with the php binaries.
What is the correct file that I should use to load php5_module
here is a list of the content of the php binaries
Upvotes: 0
Views: 3956
Reputation: 20737
Any specific reason you got the non-thread-safe (NTS) version? The NTS version does not include the Apache module on purpose.
Anyways, you can download the thread-safe (TS) version and put the DLL into your NTS PHP folder. I've never tried this so you might just get more errors. The NTS version is meant for FastCGI environments.
If you have no rhyme or reason for picking NTS then just get the TS version.
Please read the Choose Build section of http://php.net/manual/en/install.windows.manual.php
Upvotes: 1