php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53271 --enable-fpm and --enable-cgi do not produce php-cgi binaries
Submitted: 2010-11-08 22:58 UTC Modified: 2010-11-14 00:15 UTC
From: electrawn at yahoo dot com Assigned: jani (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.3.3 OS: CentOS 5.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: electrawn at yahoo dot com
New email:
PHP Version: OS:

 

 [2010-11-08 22:58 UTC] electrawn at yahoo dot com
Description:
------------
Using configure options --enable-cgi and --enable-fpm together will not produce the php-cgi binary.

  


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-11 01:25 UTC] Kalle@php.net
-Package: Compile Failure +Package: FPM related
 [2010-11-11 17:12 UTC] fat@php.net
-Package: FPM related +Package: Compile Failure
 [2010-11-11 17:12 UTC] 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-14 00:13 UTC] 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-14 00:15 UTC] jani@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jani
 [2010-11-14 00:15 UTC] jani@php.net
Fixed in trunk.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 13:01:29 2024 UTC