#18841 [NEW]: Mozilla web browser is prompted to download index.php
| From: | cjs at math dot utah dot edu | Date: | Fri, 09 Aug 2002 22:56:57 +0000 |
| Subject: | #18841 [NEW]: Mozilla web browser is prompted to download index.php | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16412@lists.php.net to get a copy of this message | ||
From: cjs@math.utah.edu
Operating system: FreeBSD
PHP version: 4.2.2
PHP Bug Type: *Web Server problem
Bug description: Mozilla web browser is prompted to download index.php
I upgraded PHP to 4.2.2 via the FreeBSD ports and now when people make
requests, they are prompted to download the index.php source which has
database info! This only happens for some directories, otherwise, PHP /
Apache does what it is supposed to for other directories. I noticed that
if directories have other files beginning with "index", then the problem
occurred. For example, index.dev.php or index.test.php, etc...
I don't think Apache needs to be recompiled after a PHP upgrade.
Thanks.
--
Edit bug report at http://bugs.php.net/?id=18841&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18841&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18841&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18841&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18841&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18841&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18841&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18841&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18841&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18841&r=globals