#38468 [Opn->Fbk]: --enable-fastcgi compiles as cgi w/o fcgi-support
| From: | tony2001@php.net | Date: | Wed, 16 Aug 2006 08:14:27 +0000 |
| Subject: | #38468 [Opn->Fbk]: --enable-fastcgi compiles as cgi w/o fcgi-support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100848@lists.php.net to get a copy of this message | ||
ID: 38468
Updated by: tony2001@php.net
Reported By: cc at cgerharz dot de
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: Debian 3.1
PHP Version: 5.1.4
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2006-08-16 01:32:08] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38468&edit=1