From: Operating system: RHEL PHP version: 5.2.14 Package: Scripting Engine problem Bug Type: Bug Bug description:PHP 5.2.14 messes up SCRIPT_FILENAME
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 bug report at http://bugs.php.net/bug.php?id=52742&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52742&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52742&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52742&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52742&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52742&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52742&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52742&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52742&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52742&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52742&r=support Expected behavior: http://bugs.php.net/fix.php?id=52742&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52742&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52742&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52742&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52742&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52742&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52742&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52742&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52742&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52742&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52742&r=mysqlcfg