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: Which sources to compile php5apache2_4.dll ?
Author
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Fri 09 Mar '12 15:25    Post subject: Souce php5apache2_4.dll Reply with quote

@steffen: which sources are you using to compile php5apache2_4.dll? I compile Apache and PHP myself (x64 and x86) and would like to try compiling php5apache2_4.dll.
Back to top
James Blond
Moderator


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

PostPosted: Fri 09 Mar '12 19:06    Post subject: Re: Souce php5apache2_4.dll Reply with quote

Jan-E wrote:
@steffen: which sources are you using to compile php5apache2_4.dll? I compile Apache and PHP myself (x64 and x86) and would like to try compiling php5apache2_4.dll.


it is in the PHP source itself. You just need to configure it.

my quick shot with the last 5.3 was

Quote:

Code:

cd c:\php-sdk\
bin\phpsdk_setvars.bat
cd C:\php-sdk\php53dev\vc9\x64\php5.3-xyz
buildconf



copy C:\Apache22\include to C:\php-sdk\php53dev\vc9\x64\deps\include
copy C:\Apache22\lib to C:\php-sdk\php53dev\vc9\x64\deps\lib

Code:

configure --enable-apache2filter --enable-apache2-2filter --enable-apache2handler --enable-apache2-2handler --enable-snapshot-build
nmake snap


Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Fri 09 Mar '12 22:06    Post subject: Reply with quote

I may be mistaken, but there is no lib dir in the Apache sources. I tried to copy only the include dir to my development area. At first, it exited with a missing ap_config_layout.h. As there was an ap_config_layout.h.in I renamed that one (and the ap_config_auto.h.in as well).

Then it compiled, but produced a php5apache2_2.dll, not the php5apache2_4.dll. Is that one supposed to work with Apache 2.4.1?

I could not get it to work. "The specified procedure could not be found". No clue in the Windows event log as to what went wrong.

Edit: OK, got it working. Copying the lib and include dirs from the compiled Apache did the trick. Thanks, James Blond.
Back to top


Reply to topic   Topic: Which sources to compile php5apache2_4.dll ? View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads