Apache2.4 and PHP7 (php7apache2_4.dll)

Started by prasanna.adkri, January 06, 2016, 11:46:55 AM

Previous topic - Next topic

prasanna.adkri

I'm using Apache2.4 and PHP 7.

When I added the following two lines in 'httpd.conf' of Apache, it stopped working.

LoadModule php7_module "D:/ProgramFiles/PHP/php7apache2_4.dll"
PHPIniDir "D:/ProgramFiles/PHP"


The error message is like this:

D:\ProgramFiles\ApacheHTTPServer\bin>httpd.exe
httpd.exe: Syntax error on line 180 of D:/ProgramFiles/ApacheHTTPServer/conf/httpd.conf: Cannot load  D:/ProgramFiles/PHP/php7apache2_4.dll into server: The specified module could not be found.


Anyone have any idea?

mario

Yepp,
PHP 7 is compiled VC 14 while we use VC11.

However use PHP over fcgid that is highly recommended

zrfisaac

I had the same problem. i resolved that puting the 'vcruntime140.dll' on my php directory that you can download on the following link:

http://pt.dll-files.com/vcruntime140.dll.html

Gregg

Hmm, That's good to know. I failed at that with Apache itself (just putting the vc14 runtime dll in the bin folder) but who knows, I should have tried with a different computer.

SanekWM

Gregg, Apache2 and modules how soon will be compiled VC 14?

Gregg

Hi,

Beginning with 2.4.19 I plan to start providing VC14 builds. Since there is movement at ASF to get 2.4.19 out the door, it should be here in the next week or two.

Quest

#6
Quote from: Gregg on March 05, 2016, 06:29:42 PM
Hi,

Beginning with 2.4.19 I plan to start providing VC14 builds. Since there is movement at ASF to get 2.4.19 out the door, it should be here in the next week or two.

Cool, is it done yet Gregg?

Gregg

It just so happens that 2.4.19 was tagged yesterday but will not see the light of day so it's going to be 2.4.20 ... just a bit longer.