ID:               30682
 Updated by:       [EMAIL PROTECTED]
 Reported By:      germann at gmx dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         *Compile Issues
 Operating System: Linux
 PHP Version:      5.0.2
 New Comment:

No bug, you can only compile one SAPI + cli at the same time. You can't
both compile CGI and the apache2 SAPI at the same time.


Previous Comments:
------------------------------------------------------------------------

[2004-11-04 02:16:45] germann at gmx dot de

Description:
------------
When I compile PHP with apxs2 for Apache2 the cgi binary won't be
build. Even if I try to force it with "--enable-cgi" there is no binary
placed in "sapi/cgi/" after executing make.

Reproduce code:
---------------
./configure \
  --prefix=/usr \
  --sysconfdir=/etc \
  --with-apxs2=/usr/local/apache/bin/apxs \
  --with-config-file-path=/etc \
  --enable-cgi \
  --enable-force-cgi-redirect \
  --enable-discard-path \
  --enable-safe-mode \
  --enable-memory-limit \
  --enable-versioning \
  --enable-magic-quotes \
  --with-pear \
  --with-openssl=/usr \
  --with-zlib=/usr \
  --with-mysql


Expected result:
----------------
As mentioned in http://de2.php.net/manual/en/features.commandline.php:
"By default when executing make, both the CGI and CLI are built and
placed as sapi/cgi/php and sapi/cli/php respectively, in your PHP
source directory."

Actual result:
--------------
myhost:/usr/src/php-5.0.2 # ls sapi/cgi/
.  ..  CREDITS  Makefile.frag  README.FastCGI  cgi_main.c  config.w32 
config9.m4  getopt.c  libfcgi  php.sym  php_getopt.h



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


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

Reply via email to