#46782 [Opn->Ver]: fastcgi.c parse error
| From: | mattwil@php.net | Date: | Sat, 06 Dec 2008 15:06:27 +0000 |
| Subject: | #46782 [Opn->Ver]: fastcgi.c parse error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131679@lists.php.net to get a copy of this message | ||
ID: 46782
Updated by: mattwil@php.net
Reported By: whatloveis at hanmail dot net
-Status: Open
+Status: Verified
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 5.2.7
New Comment:
Caused by changes for Bug #45522
Previous Comments:
------------------------------------------------------------------------
[2008-12-06 12:46:40] whatloveis at hanmail dot net
Description:
------------
When I compile with FastCGI support, it gives a parse error.
I think lines 226-236 in `sapi/cgi/fastcgi.c' should be placed in a
block.
Reproduce code:
---------------
'./configure' \
--disable-spl \
--disable-pdo \
--disable-xmlreader \
--disable-xmlwriter \
--disable-hash \
--without-sqlite \
--with-mysql=/usr/local/mysql \
--enable-mbstring \
--with-zlib \
--with-gd \
--with-freetype-dir \
--enable-fastcgi
make
Actual result:
--------------
sapi/cgi/fastcgi.c: In function `fcgi_init':
sapi/cgi/fastcgi.c:226: parse error before `sa'
sapi/cgi/fastcgi.c:231: `sa' undeclared (first use in this function)
sapi/cgi/fastcgi.c:231: (Each undeclared identifier is reported only
once
sapi/cgi/fastcgi.c:231: for each function it appears in.)
sapi/cgi/fastcgi.c:231: `len' undeclared (first use in this function)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46782&edit=1