Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24267 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79210 invoked by uid 1010); 4 Jul 2006 14:29:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79195 invoked from network); 4 Jul 2006 14:29:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2006 14:29:51 -0000 X-PHP-List-Original-Sender: chtekk@gentoo.org X-Host-Fingerprint: 195.190.181.208 unknown Linux 2.5 (sometimes 2.4) (4) Received: from ([195.190.181.208:26341] helo=Mordor.longitekk.homelinux.net) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 38/00-12730-A5B7AA44 for ; Tue, 04 Jul 2006 10:29:48 -0400 Received: from localhost (localhost [127.0.0.1]) by Mordor.longitekk.homelinux.net (Postfix) with ESMTP id 941DE458AA for ; Tue, 4 Jul 2006 16:29:42 +0200 (CEST) Received: from Mordor.longitekk.homelinux.net ([127.0.0.1]) by localhost (mordor.longitekk.homelinux.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26760-50 for ; Tue, 4 Jul 2006 16:29:26 +0200 (CEST) Received: from [192.168.10.237] (Gwaihir.longitekk.homelinux.net [192.168.10.237]) by Mordor.longitekk.homelinux.net (Postfix) with ESMTP id 0271241C7C for ; Tue, 4 Jul 2006 16:29:25 +0200 (CEST) Message-ID: <44AA7B3B.7080108@gentoo.org> Date: Tue, 04 Jul 2006 16:29:15 +0200 Reply-To: chtekk@gentoo.org Organization: Gentoo User-Agent: Thunderbird 1.5.0.4 (X11/20060630) MIME-Version: 1.0 Cc: internals@lists.php.net References: <952E8F04-87DB-4925-8F08-B999DE354D65@skytag.com> <3652.209.254.223.2.1151954870.squirrel@www.l-i-e.com> In-Reply-To: X-Enigmail-Version: 0.94.0.0 OpenPGP: id=3E95ED4F Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7DC4C6037DEF697EFD2AFFBA" X-Virus-Scanned: amavisd-new at mordor.longitekk.homelinux.net Subject: Re: [PHP-DEV] Building three SAPIs in one go From: chtekk@gentoo.org (Luca Longinotti) --------------enig7DC4C6037DEF697EFD2AFFBA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sebastian Bergmann wrote: > Michael Wallner wrote: >> That's interesting. What happens on `make install`? Does it have >> separate install commands per SAPI? >=20 > I will ask Luca, the maintainer of this patch. That would be me. :) The patch basically adds CGI to the SAPIs that can be built in one go, so we can build CLI, CGI and the Apache SAPIs all in one go. The patch for PHP 4.4.2 can be found at http://overlays.gentoo.org/proj/php/browser/patches/php-patches/4.4.2/opt= /php4.4.2-fastbuild.patch and the one for PHP 5.1.4 at http://overlays.gentoo.org/proj/php/browser/patches/php-patches/5.1.4/opt= /php5.1.4-fastbuild.patch Once the patch is applied, just do something like: =2E/configure --prefix=3D/usr --sysconfdir=3D/etc --cache-file=3D./config= =2Ecache --with-libdir=3D/usr/lib --with-pic --enable-cli --enable-cgi --enable-fastcgi --with-apxs2=3D/usr/sbin/apxs2 make (will make all three SAPIs, you can also only do make sapi/cli/php or make sapi/cgi/php) make install-cli (will install the php binary) make install-cgi (will install the php-cgi binary) make install-sapi (will install the Apache module) or make install (to install all the install targets) --=20 Best regards, Luca Longinotti aka CHTEKK LongiTEKK Networks Admin: chtekk@longitekk.com Gentoo Dev: chtekk@gentoo.org SysCP Dev: chtekk@syscp.org TILUG Supporter: chtekk@tilug.ch --------------enig7DC4C6037DEF697EFD2AFFBA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEqntE+FxjjD6V7U8RAuQPAJwO4WMmLjzrW4TlsJDSmFzsmZJcDACaAiyd HMVTyHkpi/WZ4Cxzy/RZaU8= =w62H -----END PGP SIGNATURE----- --------------enig7DC4C6037DEF697EFD2AFFBA--