I added the VC14 x86 and x64 modules for win *x64 all types, Win 7,8,8.1,10 etc in Win 10 x64.
Guess what? It spits out :can't load missing module" incorrectly as it is there. In the output you can see in event manager "incorrect function" hits. Wow, almost limitless builds, versions, fixes admitted by MS and then I thought, wait, forget PHP 5.x, try PHP 7.x
Son of a bitch, it wass a compile and module bug not listed.
Apache 2.4.16 x86 and PHP 5.3.0 x86 work perfectly fine with VC14 x86 x64 in Windows 10 x64!
Here is my process:
Download Apache 2.4.16 x86
Download PHP 5.3.0 x86
Download VC14 x86 x64 (both)
*I like to name the software I use and the version and x86 or x64 type to later know how and why it worked on all platforms and os systems, ergo a2416x86, apache 2.4.16 x86 version.
*notice all folder locations in httpd.conf are forward slashes, but in windows, they are backwards slashes. It is a convention in apache, just follow it.
Create folders
Code: Select all
C:\a2416x86
C:\a2416x86\p700rc4x86
C:\htdocs
copy the contents of php into the second folder
edit httpd.conf and make sure all folders for apache are the first folder and the first folder + bin
Code: Select all
C:\a2416x86\
C:\a2416x86\bin\
Code: Select all
C:\htdocs\
Code: Select all
C:\a2416x86\bin\
Code: Select all
httpd -k install
Code: Select all
http://127.0.0.1/
add these lines at the end, making sure the path matches your locations if you change my example, change them too
Code: Select all
LoadModule php7_module "C:/a2416x86/p700rc4x86/php7apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "C:/a2416x86/p700rc4x86/"
a great way to do that is to drop the apache monitor exe onto the bottom bar of your windows 10 interface.
Code: Select all
C:\a2416x86\bin\ApacheMonitor.exe
maybe even add the paths to the environment variables for windows. a cool GUI for that is
Rapid Environment Editor
always run as Administrator so you can save your changes in the PATH variable. you can even press F7 to find the paths you need for apache, apache bin, and php if you like.
Code: Select all
C:\a2416x86
C:\a2416x86\bin
C:\a2416x86\p700rc4x86