This is odd.
I decided to try out the XAMMP thing, and was most impressed ... until I tried to turn on clean_urls.
I did the usual (I've installed Drupal on about 6 different platforms now) but still something is wrong.
Today it's Drupal 4.6.5, WinXP, Apache2, PHP4.4.1
httpd.conf:
LoadModule rewrite_module modules/mod_rewrite.so
...
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
OK.
I initially started in a subdir, but have given up on that while trying to fix this, and reverted to a default top-level install.
settings.php $base_url = 'http://localhost';
As Normal
.htaccess:
...
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
As Normal
I know .htaccess and rewrite is working. I can see the front page, and login just fine.
If I visit http://localhost/?q=admin/settings all is well.
If I visit it AGAIN (either using a nav link, refreshing, or submitting the page) I get.
Fatal error: Cannot redeclare conf_init() (previously declared in F:\hosts\xampp\htdocs\drupal\includes\bootstrap.inc:45) in F:\hosts\xampp\htdocs\drupal\includes\bootstrap.inc on line 44
Odd.
So I do a bunch of temporary debugging, sure enough, a check for function_exists('conf_init') embedded in the top of bootstrap.inc returns true. Yet I can't detect when this could have happened.
About now I'm suspecting some odd optimization by the Zend PHP Engine, caching functions it saw on the last page.