Bug #52742 [Opn]: PHP 5.2.14 messes up SCRIPT_FILENAME
Edit report at http://bugs.php.net/bug.php?id=52742edit=1 ID: 52742 Updated by: srina...@php.net Reported by:mfurdyk at takingitglobal dot org Summary:PHP 5.2.14 messes up SCRIPT_FILENAME Status: Open Type: Bug Package:Scripting Engine problem Operating System: RHEL PHP Version:5.2.14 Block user comment: N New Comment: how is your web server configured ? and what web server r u using ? Previous Comments: [2010-08-31 01:51:11] mfurdyk at takingitglobal dot org FYI, I also noticed that make test doesn't work, in case that's relevant... [r...@tigweb3 php-5.2.14]# make test Build complete. Don't forget to run 'make test'. make: [test] Error 255 (ignored) [2010-08-31 00:45:17] mfurdyk at takingitglobal dot org Recompiled: './configure' '--with-mysql=/usr/include/mysql' '--with-zlib' '--with-gd' '-- with-jpeg-dir' '--with-png-dir' '--enable-inline-optimization' '--with-curl' '-- disable-debug' '--with-mcrypt=/usr/local/src/libmcrypt-2.5.7' '--with-mhash' '-- enable-ftp' '--enable-zend-multibyte' '--enable-fastcgi' '--enable-mbstring' '-- with-freetype-dir=/usr' '--with-gmp' '--with-openssl' '--enable-sockets' '-- with-libdir=lib64' '--enable-force-cgi-redirect' Result is the same: _SERVER[SCRIPT_FILENAME] /dev/null/phpinfo.html _SERVER[SCRIPT_NAME] /fcgi-bin/php [2010-08-31 00:25:01] srina...@php.net i believe, you need to include --enable-force-cgi-redirect configuration flag while compiling with fastcgi support to overcome this. [2010-08-30 17:36:31] mfurdyk at takingitglobal dot org Description: After upgrading from 5.2.6 to 5.2.14, our SCRIPT_FILENAME and SCRIPT_NAME seem to be getting broken. Running as FastCGI: From phpinfo(): 5.2.14 _SERVER[SCRIPT_FILENAME] /dev/null/phpinfo.html _SERVER[SCRIPT_NAME] /fcgi-bin/php 5.2.6 (still running on 2/3 servers) _SERVER[SCRIPT_FILENAME] /sites/takingitglobal.admin.v5/phpinfo.html _SERVER[SCRIPT_NAME] /phpinfo.html Compile string: './configure' '--with-mysql=/usr' '--with-libdir=lib64' '--with-zlib' '--with- gd' '--enable-inline-optimization' '--with-curl' '--disable-debug' '--with- mcrypt=/usr/local/src/libmcrypt-2.5.7' '--with-mhash' '--enable-ftp' '--enable- zend-multibyte' '--enable-fastcgi' '--enable-mbstring' '--with-freetype- dir=/usr' '--with-gmp' '--with-openssl' '--with-jpeg-dir=/opt' '--with-png- dir=/opt' '--enable-sockets' Expected result: See what 5.2.6 returns -- Edit this bug report at http://bugs.php.net/bug.php?id=52742edit=1
Bug #52742 [Opn]: PHP 5.2.14 messes up SCRIPT_FILENAME
Edit report at http://bugs.php.net/bug.php?id=52742edit=1 ID: 52742 User updated by:mfurdyk at takingitglobal dot org Reported by:mfurdyk at takingitglobal dot org Summary:PHP 5.2.14 messes up SCRIPT_FILENAME Status: Open Type: Bug Package:Scripting Engine problem Operating System: RHEL PHP Version:5.2.14 Block user comment: N New Comment: Using Zeus Web Server, connecting to PHP over FastCGI socket. 5.2.6 is running the same way on the other two servers (sharing ZWS config) Previous Comments: [2010-08-31 20:28:45] srina...@php.net how is your web server configured ? and what web server r u using ? [2010-08-31 01:51:11] mfurdyk at takingitglobal dot org FYI, I also noticed that make test doesn't work, in case that's relevant... [r...@tigweb3 php-5.2.14]# make test Build complete. Don't forget to run 'make test'. make: [test] Error 255 (ignored) [2010-08-31 00:45:17] mfurdyk at takingitglobal dot org Recompiled: './configure' '--with-mysql=/usr/include/mysql' '--with-zlib' '--with-gd' '-- with-jpeg-dir' '--with-png-dir' '--enable-inline-optimization' '--with-curl' '-- disable-debug' '--with-mcrypt=/usr/local/src/libmcrypt-2.5.7' '--with-mhash' '-- enable-ftp' '--enable-zend-multibyte' '--enable-fastcgi' '--enable-mbstring' '-- with-freetype-dir=/usr' '--with-gmp' '--with-openssl' '--enable-sockets' '-- with-libdir=lib64' '--enable-force-cgi-redirect' Result is the same: _SERVER[SCRIPT_FILENAME] /dev/null/phpinfo.html _SERVER[SCRIPT_NAME] /fcgi-bin/php [2010-08-31 00:25:01] srina...@php.net i believe, you need to include --enable-force-cgi-redirect configuration flag while compiling with fastcgi support to overcome this. [2010-08-30 17:36:31] mfurdyk at takingitglobal dot org Description: After upgrading from 5.2.6 to 5.2.14, our SCRIPT_FILENAME and SCRIPT_NAME seem to be getting broken. Running as FastCGI: From phpinfo(): 5.2.14 _SERVER[SCRIPT_FILENAME] /dev/null/phpinfo.html _SERVER[SCRIPT_NAME] /fcgi-bin/php 5.2.6 (still running on 2/3 servers) _SERVER[SCRIPT_FILENAME] /sites/takingitglobal.admin.v5/phpinfo.html _SERVER[SCRIPT_NAME] /phpinfo.html Compile string: './configure' '--with-mysql=/usr' '--with-libdir=lib64' '--with-zlib' '--with- gd' '--enable-inline-optimization' '--with-curl' '--disable-debug' '--with- mcrypt=/usr/local/src/libmcrypt-2.5.7' '--with-mhash' '--enable-ftp' '--enable- zend-multibyte' '--enable-fastcgi' '--enable-mbstring' '--with-freetype- dir=/usr' '--with-gmp' '--with-openssl' '--with-jpeg-dir=/opt' '--with-png- dir=/opt' '--enable-sockets' Expected result: See what 5.2.6 returns -- Edit this bug report at http://bugs.php.net/bug.php?id=52742edit=1
Bug #52742 [Opn]: PHP 5.2.14 messes up SCRIPT_FILENAME
Edit report at http://bugs.php.net/bug.php?id=52742edit=1 ID: 52742 User updated by:mfurdyk at takingitglobal dot org Reported by:mfurdyk at takingitglobal dot org Summary:PHP 5.2.14 messes up SCRIPT_FILENAME Status: Open Type: Bug Package:Scripting Engine problem Operating System: RHEL PHP Version:5.2.14 Block user comment: N New Comment: FYI, I also noticed that make test doesn't work, in case that's relevant... [r...@tigweb3 php-5.2.14]# make test Build complete. Don't forget to run 'make test'. make: [test] Error 255 (ignored) Previous Comments: [2010-08-31 00:45:17] mfurdyk at takingitglobal dot org Recompiled: './configure' '--with-mysql=/usr/include/mysql' '--with-zlib' '--with-gd' '-- with-jpeg-dir' '--with-png-dir' '--enable-inline-optimization' '--with-curl' '-- disable-debug' '--with-mcrypt=/usr/local/src/libmcrypt-2.5.7' '--with-mhash' '-- enable-ftp' '--enable-zend-multibyte' '--enable-fastcgi' '--enable-mbstring' '-- with-freetype-dir=/usr' '--with-gmp' '--with-openssl' '--enable-sockets' '-- with-libdir=lib64' '--enable-force-cgi-redirect' Result is the same: _SERVER[SCRIPT_FILENAME] /dev/null/phpinfo.html _SERVER[SCRIPT_NAME] /fcgi-bin/php [2010-08-31 00:25:01] srina...@php.net i believe, you need to include --enable-force-cgi-redirect configuration flag while compiling with fastcgi support to overcome this. [2010-08-30 17:36:31] mfurdyk at takingitglobal dot org Description: After upgrading from 5.2.6 to 5.2.14, our SCRIPT_FILENAME and SCRIPT_NAME seem to be getting broken. Running as FastCGI: From phpinfo(): 5.2.14 _SERVER[SCRIPT_FILENAME] /dev/null/phpinfo.html _SERVER[SCRIPT_NAME] /fcgi-bin/php 5.2.6 (still running on 2/3 servers) _SERVER[SCRIPT_FILENAME] /sites/takingitglobal.admin.v5/phpinfo.html _SERVER[SCRIPT_NAME] /phpinfo.html Compile string: './configure' '--with-mysql=/usr' '--with-libdir=lib64' '--with-zlib' '--with- gd' '--enable-inline-optimization' '--with-curl' '--disable-debug' '--with- mcrypt=/usr/local/src/libmcrypt-2.5.7' '--with-mhash' '--enable-ftp' '--enable- zend-multibyte' '--enable-fastcgi' '--enable-mbstring' '--with-freetype- dir=/usr' '--with-gmp' '--with-openssl' '--with-jpeg-dir=/opt' '--with-png- dir=/opt' '--enable-sockets' Expected result: See what 5.2.6 returns -- Edit this bug report at http://bugs.php.net/bug.php?id=52742edit=1