Bug #53271 [Opn->Csd]: --enable-fpm and --enable-cgi do not produce php-cgi binaries

From: Date: Sat, 13 Nov 2010 23:15:01 +0000
Subject: Bug #53271 [Opn->Csd]: --enable-fpm and --enable-cgi do not produce php-cgi binaries
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156007@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53271&edit=1

 ID:                 53271
 Updated by:         jani@php.net
 Reported by:        electrawn at yahoo dot com
 Summary:            --enable-fpm and --enable-cgi do not produce php-cgi
                     binaries
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   CentOS 5.5
 PHP Version:        5.3.3
-Assigned To:        
+Assigned To:        jani
 Block user comment: N

 New Comment:

Fixed in trunk.


Previous Comments:
------------------------------------------------------------------------
[2010-11-14 00:13:09] jani@php.net

Automatic comment from SVN on behalf of jani
Revision: http://svn.php.net/viewvc/?view=revision&revision=305331
Log: - Implemented FR #53271, FR #52410 (Building multiple PHP binary
SAPIs and one SAPI module the same time)
# Bug #53271, Bug #52410

------------------------------------------------------------------------
[2010-11-11 17:12:58] fat@php.net

This has nothing to do with FPM. It's not possible to compile two
differents 
sapi (except CLI which is a special case).

./configure --enable-cgi --with-apxs2=/usr/bin/apxs2
generates sapi/cli/php and libphp5.la. CGI sapi is never compiled nor
even 
linked.

To me there is a general problem of SAPI compilation. Each sapi should
be able 
to be compiled at once and CLI should not be a special case. The
following 
configure line should generate CLI, CGI, FPM, litespeed and
apache2handler SAPI

./configure --enable-cli --enable-cgi --enable-fpm --with-litespeed
--with-
apxs2=/usr/bin/apxs2

This is not the case. Now you can only compile CLI and one other SAPI.

------------------------------------------------------------------------
[2010-11-08 22:58:46] electrawn at yahoo dot com

Description:
------------
Using configure options --enable-cgi and --enable-fpm together will not
produce the php-cgi binary.

  



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53271&edit=1


Thread (3 messages)

« previous php.bugs (#156007) next »