php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39411 php (cgi) binary is not produced when compiling with apxs2 configured
Submitted: 2006-11-07 09:08 UTC Modified: 2006-11-08 02:04 UTC
From: thp3 at sigproc dot de Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 5.2.0 OS: Linux 2.6.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thp3 at sigproc dot de
New email:
PHP Version: OS:

 

 [2006-11-07 09:08 UTC] thp3 at sigproc dot de
Description:
------------
Re-issueing of Bug #30682 (php (cgi) binary does not compile with apxs2 configured).

When having the "--with-apxs" option enabled, the CGI executable is not generated during compilation, though this is implied by the naming of the configure options and the current documentation in file INSTALL.

Rationale: though it might be trivial for the php developers to know that the CGI executable is only one of the SAPI modules and that only one SAPI module (+ cli) can be compiled at a time, for the average user it is just puzzling not to find the CGI executable after use of a rather unsuspicious configure command.

Please either 
a) adjust the naming of configure options (e.g. have an explicit option for the target, i.e. --build-sapi={cgi|apache|...}), or
b) leave a small note in the documentation about the issue, preferably in INSTALL or at the top of the "configure --help" text. (Something like: "Note that enabling --with-apxs and alike will cease the CGI executable from being built.")



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-07 14:09 UTC] edink@php.net
Please don't submit the same bug twice. You can only compile CLI + any other sapi.
 [2006-11-08 02:04 UTC] thp3 at sigproc dot de
If only the fact that only CLI + any other sapi can be compiled at a time would be indicated in the installation notes, I would be quite happy. Note BTW that the documenation does NOT talk about the CGI executable as one of the sapis.

In any case the fact that I ran into the same misunderstanding as the submitter of Bug #30682 shows that it is worth adjusting the documentation. My enquiry thus should rather be considered a "documentation request" than "bug report".
 [2012-05-31 07:02 UTC] get dot sonata at gmail dot com
Took me a while to realize it. Can it be put somewhere in any of README, 
instruction or whatsoever.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 21:01:32 2024 UTC