#38468 [NEW]: --enable-fastcgi compiles as cgi w/o fcgi-support
| From: | cc at cgerharz dot de | Date: | Wed, 16 Aug 2006 01:32:09 +0000 |
| Subject: | #38468 [NEW]: --enable-fastcgi compiles as cgi w/o fcgi-support | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100846@lists.php.net to get a copy of this message | ||
From: cc at cgerharz dot de
Operating system: Debian 3.1
PHP version: 5.1.4
PHP Bug Type: CGI related
Bug description: --enable-fastcgi compiles as cgi w/o fcgi-support
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
--
Edit bug report at http://bugs.php.net/?id=38468&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38468&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38468&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38468&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38468&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38468&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38468&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38468&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38468&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38468&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38468&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38468&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38468&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38468&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38468&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38468&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38468&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38468&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38468&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38468&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38468&r=mysqlcfg