php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30682 php (cgi) binary does not compile with apxs2 configured
Submitted: 2004-11-04 02:16 UTC Modified: 2004-11-04 08:14 UTC
From: germann at gmx dot de Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 5.0.2 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: germann at gmx dot de
New email:
PHP Version: OS:

 

 [2004-11-04 02:16 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-04 08:14 UTC] derick@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 05:01:28 2024 UTC