The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Apache2.4 and PHP7 (php7apache2_4.dll)  (Read 25775 times)

prasanna.adkri

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Apache2.4 and PHP7 (php7apache2_4.dll)
« on: January 06, 2016, 11:46:55 AM »

I'm using Apache2.4 and PHP 7.

When I added the following two lines in 'httpd.conf' of Apache, it stopped working.
Code: [Select]
LoadModule php7_module "D:/ProgramFiles/PHP/php7apache2_4.dll"
PHPIniDir "D:/ProgramFiles/PHP"

The error message is like this:
Code: [Select]
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?
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 580
Re: Apache2.4 and PHP7 (php7apache2_4.dll)
« Reply #1 on: January 07, 2016, 01:50:56 PM »

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

However use PHP over fcgid that is highly recommended
Logged

zrfisaac

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Re: Apache2.4 and PHP7 (php7apache2_4.dll)
« Reply #2 on: February 19, 2016, 12:19:38 PM »

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
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 839
Re: Apache2.4 and PHP7 (php7apache2_4.dll)
« Reply #3 on: February 20, 2016, 06:28:21 PM »

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.
Logged

SanekWM

  • Newbie
  • *
  • Offline Offline
  • Posts: 11
Re: Apache2.4 and PHP7 (php7apache2_4.dll)
« Reply #4 on: March 05, 2016, 09:16:48 AM »

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

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 839
Re: Apache2.4 and PHP7 (php7apache2_4.dll)
« Reply #5 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.
Logged

Quest

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Re: Apache2.4 and PHP7 (php7apache2_4.dll)
« Reply #6 on: March 22, 2016, 10:53:30 AM »

Hi,

Beginning with 2.4.19 I plan to start using https://skinnyexpress.com/phen375-review-and-results the phen375 stuff and 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?
« Last Edit: January 26, 2017, 08:07:25 AM by Quest »
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 839
Re: Apache2.4 and PHP7 (php7apache2_4.dll)
« Reply #7 on: March 22, 2016, 07:31:18 PM »

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.
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13