php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38468 --enable-fastcgi compiles as cgi w/o fcgi-support
Submitted: 2006-08-16 01:32 UTC Modified: 2006-08-16 14:06 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: cc at cgerharz dot de Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.1.4 OS: Debian 3.1
Private report: No CVE-ID: None
 [2006-08-16 01:32 UTC] cc at cgerharz dot de
Description:
------------
Hello,

after compiling PHP with --enable-fastcgi option, it has only cgi support, the fastcgi extension is missing.

See below for additional config parameters.

Reproduce code:
---------------
#! /bin/sh
#
# Created by configure

'./configure' \
'--enable-memory-limit' \
'--enable-force-cgi-redirect' \
'--enable-track-vars' \
'--enable-fastcgi' \
'--with-pcre-regex' \
'--with-mysql=/usr' \
'--with-sqlite' \
'--prefix=/usr/local/php5-fcgi' \
'--enable-gd-ingstrttf' \
'--enable-gd-native-ttf' \
'--enable-magic-quotes' \
'--with-jpeg-dir=/usr/lib' \
'--with-jpg-dir=/usr/lib' \
'--with-png-dir=/usr/lib' \
'--with-zlib' \
'--with-freetype-dir=/usr/lib' \
'--with-gd' \
'--enable-freetype' \
'--with-imap' \
'--with-gif-dir=/usr/lib' \
'--with-kerberos' \
'--with-imap-ssl' \
'--without-mm' \
'--enable-mbstring' \
'--enable-sockets' \
'--with-gettext' \
'--with-mcrypt' \
'--with-iconv' \
'--with-curl' \
"$@"


make

make install

Expected result:
----------------
PHP binary should have fcgi support; make & php -v should show up this:

Installing PHP SAPI module:       cgi-fcgi

Actual result:
--------------
PHP binary is only cgi binary without fcgi extension; make & php -v actually show up this:

Installing PHP SAPI module:       cgi

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-16 08:14 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-08-16 13:56 UTC] cc at cgerharz dot de
Same for that snapshot.
 [2006-08-16 14:06 UTC] tony2001@php.net
./sapi/cgi/php -v
PHP 5.2.0RC2-dev (cgi-fcgi) (built: Aug 16 2006 18:05:06) (DEBUG)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies

>make & php -v 
This is definitely wrong.

>Installing PHP SAPI module:       cgi
Right, it's still CGI, even if it's actually fastCGI.



 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 15:01:30 2024 UTC