#46782 [NEW]: fastcgi.c parse error
| From: | whatloveis at hanmail dot net | Date: | Sat, 06 Dec 2008 12:46:40 +0000 |
| Subject: | #46782 [NEW]: fastcgi.c parse error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-131674@lists.php.net to get a copy of this message | ||
From: whatloveis at hanmail dot net
Operating system: Linux
PHP version: 5.2.7
PHP Bug Type: Compile Failure
Bug description: fastcgi.c parse error
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 bug report at http://bugs.php.net/?id=46782&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46782&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46782&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46782&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46782&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46782&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46782&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46782&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46782&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46782&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46782&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46782&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46782&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46782&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46782&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46782&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46782&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46782&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46782&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46782&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46782&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46782&r=mysqlcfg