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: [EMAIL PROTECTED] Gentoo Dev: [EMAIL PROTECTED] SysCP Dev: [EMAIL PROTECTED] TILUG Supporter: [EMAIL PROTECTED]
signature.asc
Description: OpenPGP digital signature