# Diagnosing bug

- Thread: https://externals.io/message/27586
- Original archive: https://news-web.php.net/php.internals/27586
- Started by David Mytton on 2007-01-22T18:08:06+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #27586 — David Mytton — 2007-01-22T18:08:06+00:00

URL: https://externals.io/message/27586#27586

Hi,

I have been trying to track down a potential bug in my code and after 
testing everything I could, I believe it is a bug in PHP. The problem is 
that it's quite a complex issue and only occurs when mod_rewrite is 
being used on Linux (it works fine on my Windows PC I'm developing on).

I have done all the usual things like disable all 3rd party extensions 
and use the latest PHP snapshot (PHP 5) but the bug still comes up. I 
can work around it but I would prefer to submit a bug report so it can 
be looked and hopefully fixed. This is where the problem is.

I have been discussing the problem on php.general - 
http://news.php.net/php.general/247543 - and my difficulty is producing 
test code that I can use to submit a bug report. I have attempted to 
"extract" the code out of the applicatiom but when I do that, the code 
works fine. I know that this suggests that it is a bug in my code and 
not PHP at all, but the nature of the bug, and the fact that it only 
occurs with mod_rewrite on Linux, I believe suggests otherwise.

So I'm asking if someone could take a look at my post to php.general and 
possibly give me some advice for writing up a test case for this so I 
can report it properly?

Thanks,

David Mytton

---

## #27600 — Roman Neuhauser — 2007-01-23T13:51:59+00:00

URL: https://externals.io/message/27586#27600 · In reply to: #27586

# david@emomentum.co.uk / 2007-01-22 18:08:06 +0000:
> I have been trying to track down a potential bug in my code and after 
> testing everything I could, I believe it is a bug in PHP. The problem is 
> that it's quite a complex issue and only occurs when mod_rewrite is 
> being used on Linux (it works fine on my Windows PC I'm developing on).

For the sake of the archives: this was a PEBKAC, see php-general@.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991
