For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2007 > Re: [PHP-INSTALL] Making concurrent installation of CLI & CGI SAPI with PHP5 sour









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Making concurrent installation of CLI & CGI SAPI with PHP5 sour
BuildSmart

2007-08-22, 7:01 pm


On Aug 21, 2007, at 14:40:26, John N wrote:

>
> Hello,
>
> We are installing php5 on both FreeBSD & other *NIX-based servers.
>
> On the FreeBSD Server, we use the Ports System. When we build the
> port with
>
> WITH_FASTCGI=true
> WITH_CLI=true
> WITH_CGI=true
>
> we have installed two binaries, "bin/php" (cli) & "bin/php-cgi".


That's because the ports system generates multiple builds.

>
> But, when we install for, example OSX, we are not so lucky. When
> we build the source with
>
> --enable-cli
> --enable-cgi
> --enable-fastcgi


You can achieve this by generating multiple builds.

> we receive no errors, but only install one binarie, the "bin/
> php" (cli). In this case, we haven't installed the "bin/php-cgi".
>
> When I look in the FreeBSD port, and Google too ( http://
> www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/
> ), I see some patches that promise to "add the ability to build all
> SAPIs concurrently".
>
> But, these seem to be only for FreeBSD port, and should not be
> applied to 'plain' source?


This might very well work in OSX, without seeing the patches and
applying them and passing the source through the ADE I can only
speculate on the results.

> Is there a solution for building concurrently both of the binaries,
> the cli & the cgi, concurrently for OSes different than FreeBSD?
>
> Can we use these patches? Or is it that we must use something else?
>
> Thanks.
>
> John



BuildSmart

2007-08-22, 7:01 pm


On Aug 22, 2007, at 13:24:53, John N wrote:

>
> That's because the ports system generates multiple builds.
>
> Yes. That's clear. As I have understood in the reference to the
> patches which I do see.
>
> You can achieve this by generating multiple builds.
>
> But, my question was as to concurrent builds in an automated way.
>
> It is clear of course that multiple builds are possible by hand.
>
> This might very well work in OSX, without seeing the patches and
> applying them and passing the source through the ADE I can only
> speculate on the results.
>
> I'm sorry I do not know what the ADE is.


Apple Developer Environment (I spent the $9k and bought it)

>
> I have earlier provided the URL for all the patches that are
> provided, at http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/
> files/.
>
> I can easily see them. Are you not able to view them there?


I haven't looked at them so I can't comment on their validity.

My point was, try the patches, if they work let us know, if they
require a little tweaking let us know what you changed, if you want
me to do it for you my fees are unreasonable for the average end user
but if you have money to spend let me know what your requirements are
and I'll calculate the time required to build everything in the ADE
for environment compliance and compatibility purposes and give you a
ready-to-go solution.

I'm already building PHP 5.2.3 in the ADE as universal for 3
different versions of apache (1.3.33, 2.0.53 and 2.2.4) and I don't
suffer the date bug or the big endian issue (my source has been fixed
to compensate for the architecture during build phases) so achieving
what you want is more than likely possible but again I'm speculating
based on the assumption that the patches do in fact generate
concurrent builds as you state.

> John
>
>



BuildSmart

2007-08-23, 4:01 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Aug 22, 2007, at 20:01:52, John N wrote:

> No thank you.
>
> I don't see how your expensive Apple Dev Env, or your rate for
> time, has much to do with my question.


If you want it done and don't want to try it yourself then my offer
has a lot to do with it if you want it done in the manner you are
sing.

>
> We build php for multiple OS & architectures without any problems
> using free & available tools. For OSX, much of what we need is on
> the Developer DVD for OSX. The rest and for other OSs too is
> downloadabel.
>
> Of course, as is my question, on any other than FreeBSD because of
> these patches, we must build each SAPI separately.
>
> My question is only if this is already done for other than FreeBSD,
> or if these patches are the way to do it. In the mean time, we can
> do the custom work too.


Apply the patches and try it.

>
> Perhaps someone can answer that already knows an answer, or can
> discuss, without an advertisement to spend money.
>


- -- Dale
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFGzP6n0hzWbkf0eKgRAiRqAKDRN67Ux/tJyCnZvjOJkFQmG/kzIQCg1qiI
yrdalcWqty2YkhgUXh40JRk=
=typm
-----END PGP SIGNATURE-----
Ooendesburgh0

2007-08-29, 11:04 am

Shocking hardcore videos!
http://shocking-p0rn-videos.info/thumb.jpg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com