logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: How to build php5apache2_4.dll myself ?
Author
SolidSnakeGTI



Joined: 16 May 2012
Posts: 16

PostPosted: Mon 16 Jul '12 16:32    Post subject: How to build php5apache2_4.dll myself ? Reply with quote

Hello Dears,


I've searched the web with no results on how to "How to build php5apache2_4.dll myself ?"
Fortunately I've reached user contributed patch that should be applied to the PHP source to add support for Apache 2.4, it's here:
https://bugs.php.net/patch-display.php?bug_id=62267&patch=php5.3-apache24.diff&revision=latest

I've applied this patch & build PHP from source on windows, but unfortunately I've got only "php5apache2_2.dll" & "php5apache2_3.dll", but not "php5apache2_4.dll"

Is there something missing in my steps? I'll appreciate your assistance...


Best Regards - Abdelrahman
Back to top
Xing
Moderator


Joined: 26 Oct 2005
Posts: 49

PostPosted: Mon 16 Jul '12 16:57    Post subject: Reply with quote

Download php5apache2_4.dll from Apachelounge and you are fine.
Back to top
SolidSnakeGTI



Joined: 16 May 2012
Posts: 16

PostPosted: Mon 16 Jul '12 17:32    Post subject: Reply with quote

Hey, have you read topic's title?!!!
Quote:
How to build php5apache2_4.dll myself ?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 16 Jul '12 18:21    Post subject: Reply with quote

There is a topic about that http://www.apachelounge.com/viewtopic.php?p=20624

if you still have a question, please ask again
Back to top
SolidSnakeGTI



Joined: 16 May 2012
Posts: 16

PostPosted: Tue 17 Jul '12 0:30    Post subject: Reply with quote

That wasn't the issue, I found the solution here:
http://avapug.net/?p=227

Where the author mentioned to copy Apache 'include' & 'lib' folders to the dependencies folder of PHP build directory. That was the missing part in my steps. Now it's ok & I've built it successfully.

Thanks to you all for all of your appreciated suggestions.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Fri 20 Jul '12 21:08    Post subject: Reply with quote

Also here at the forum, see http://www.apachelounge.com/viewtopic.php?t=4756
Back to top
SolidSnakeGTI



Joined: 16 May 2012
Posts: 16

PostPosted: Sun 05 Aug '12 5:28    Post subject: Reply with quote

Well, it's compiled successfully, but never run!!
Apache service didn't run & giving the following error(s) in event log:
Code:
>>> httpd.exe: Syntax error on line 175 of /path/to/httpd.conf: Module "sapi\\apache2handler\\mod_php5.c" is not compatible with this version     .


Code:
>>> of Apache (found 20110619, need 20120211). Please contact the vendor for the correct version.


httpd.conf line 175:
Code:
LoadModule php5_module ../../php/php-5.4.5/php5apache2_4.dll


I've placed lib/include in correct path, applied the patch, compiled with success!!

What's wrong with it? Any suggestions??
Back to top
SolidSnakeGTI



Joined: 16 May 2012
Posts: 16

PostPosted: Sun 05 Aug '12 20:25    Post subject: Reply with quote

Well, bug fixed & new patch file submitted to the bug report @ php.net
https://bugs.php.net/bug.php?id=62267
Back to top


Reply to topic   Topic: How to build php5apache2_4.dll myself ? View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads