logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



how is php built with by the php.net people?

 
Post new topic   Reply to topic    Apache Forum Index -> Apache Building & Member Downloads



View previous topic :: View next topic  
Author Message
seinstein



Joined: 02 May 2006
Posts: 4
Location: Dublin, Ireland

PostPosted: Thu 06 Jul '06 20:23    Post subject: how is php built with by the php.net people? Reply with quote

Hi,

I see people are building with Visual Studio and so on. I don't really know much about 'building' and building programs as such, but I would like to know how come when I download previous versions of the Apache binary and php (from the php.net site) I don't need to install this Visual C++ runtime package. Can anyone help me? What is being used to build these mysterious binaries that I don't need the VC++ runtime to run?

Thanx in advance! Smile
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Thu 06 Jul '06 21:10    Post subject: Reply with quote

Please note: Apache Lounge is NOT part of the Apache Software Foundation or PHP.net.

There is nothing mysterious about it at all. Winthin the context that you are using the PHP module for Apache that is downloaded at this site, it is because Steffen compiles using VC++ 2005. The runtime library for VC++ 2005 is not included with Win XP or subsequent Service Packs. This is primarily due to the fact that VC++ 2005 was released AFTER XP and subsequent service packs were released. There are other factors as well. That being said, if you use Steffen's DLL you must have the appropriate runtime version of C++ - in this case, VC++ 2005 runtime.

Apache and PHP, at least in the past, use VC++ 6. The VC++ 6 runtime libraries are included in XP, hence, no need to install something that is already there.
..
.
Back to top
seinstein



Joined: 02 May 2006
Posts: 4
Location: Dublin, Ireland

PostPosted: Thu 06 Jul '06 21:17    Post subject: Reply with quote

so then, does this mean that the people at apache foundation would use visual studio also to build their binaries of apache, or people at php would do the same? Or do they have some specialised software?

(p.s. thanx for the help already given!)

Smile
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Thu 06 Jul '06 21:41    Post subject: Reply with quote

ASF (Apache) and PHP.net usually coordinate very well...at least they have in the past. They, at least to my knowledge, use VC++ 6. VC++ 6 is an older version of Microsoft's C++.

I have built both from source provided by Apache and PHP. Other than acquiring all the libraries necessary for the compile, there is no need for special software or compilers.

Know that in order to build the PHP module for Apache, you must first build Apache and have the source available at compile time for PHP build properly.
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Fri 07 Jul '06 9:38    Post subject: Reply with quote

Yes ASF is using VC++ 6 for there binaries... there was talk about change to a newer version but that didn't get passed IIRC.

Only mod_aspdotnet isn't compiled with version 6 but with .net 2002
Back to top
seinstein



Joined: 02 May 2006
Posts: 4
Location: Dublin, Ireland

PostPosted: Fri 07 Jul '06 16:55    Post subject: Reply with quote

well no wonder i was confused! i thought vc++ 6 was some newer version. i've also seen *.exe.manifest files in the directories of other programs like Intervideo's WinDVD, so am I to assume that these programs were also built using vc++ that phpapache2.dll from this site
was built with?

Thanx for the help! Smile
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Fri 07 Jul '06 17:49    Post subject: Reply with quote

The manifest file is generated during compile time, and allows support throught the .NET Framework.

Where are you going with all of this?
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Sat 08 Jul '06 14:19    Post subject: Reply with quote

pnllan wrote:
The manifest file is generated during compile time, and allows support throught the .NET Framework.


The propper way would be to include them in the exe it self...
But that somehow doesn't seem to work for httpd and others for me.

The files are xml file that include references to the runtime libraries they use.
In this case MSVC80
Back to top
Steffen
Moderator


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

PostPosted: Sat 08 Jul '06 15:51    Post subject: Reply with quote

You include the manifest with mt.exe, for example:



mt -manifest out32dll\ssleay32.dll.manifest -outputresource:out32dll\ssleay32.dll;1
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Sat 08 Jul '06 17:58    Post subject: Reply with quote

Steffen wrote:
You include the manifest with mt.exe, for example:



mt -manifest out32dll\ssleay32.dll.manifest -outputresource:out32dll\ssleay32.dll;1


really... that bloody briljant!
I'll do that next with the next release of the httpd 2.2 branch when i compile the binaries
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache Building & Member Downloads
Page 1 of 1