Re: Building three SAPIs in one go

From: Date: Tue, 04 Jul 2006 14:29:15 +0000
Subject: Re: Building three SAPIs in one go
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-24267@lists.php.net to get a copy of this message
Sebastian Bergmann wrote: > Michael Wallner wrote: >> That's interesting. What happens on make install? Does >> it have >> separate install commands per SAPI? > > 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: ./configure --prefix=/usr --sysconfdir=/etc --cache-file=./config.cache --with-libdir=/usr/lib --with-pic --enable-cli --enable-cgi --enable-fastcgi --with-apxs2=/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) -- 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

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#24267) next »