Re: Making concurrent installation of CLI & CGI SAPI with PHP5 source?
| From: | BuildSmart | Date: | Wed, 22 Aug 2007 15:14:26 +0000 |
| Subject: | Re: Making concurrent installation of CLI & CGI SAPI with PHP5 source? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18210@lists.php.net to get a copy of this message | ||
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-fastcgiYou 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