Edit report at https://bugs.php.net/bug.php?id=39411&edit=1
ID: 39411 Comment by: get dot sonata at gmail dot com Reported by: thp3 at sigproc dot de Summary: php (cgi) binary is not produced when compiling with apxs2 configured Status: Not a bug Type: Bug Package: *Compile Issues Operating System: Linux 2.6.8 PHP Version: 5.2.0 Block user comment: N Private report: N New Comment: Took me a while to realize it. Can it be put somewhere in any of README, instruction or whatsoever. Previous Comments: ------------------------------------------------------------------------ [2006-11-08 02:04:18] 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". ------------------------------------------------------------------------ [2006-11-07 14:09:05] ed...@php.net 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 https://bugs.php.net/bug.php?id=39411&edit=1