ID: 39411
User updated by: thp3 at sigproc dot de
Reported By: thp3 at sigproc dot de
Status: Bogus
Bug Type: *Compile Issues
Operating System: Linux 2.6.8
PHP Version: 5.2.0
New Comment:
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".
Previous Comments:
------------------------------------------------------------------------
[2006-11-07 14:09:05] [EMAIL PROTECTED]
Please don't submit the same bug twice. You can only compile CLI + any
other sapi.
------------------------------------------------------------------------
[2006-11-07 09:08:57] 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.")
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39411&edit=1