This is extremely urgent!
I have the following setup:
1. Windows Server 2003
2. IIS 6
3. PHP 5.2.1 installed using the windows installer
5. (wordpress 2.1)
Here is the problem and please read this carefully to pinpoint the problem:
I am going to run Wordpress CMS on this server. It is working fine on my local server using PHP 4.X.
However, it needs to be on a production server which I installed PHP 5 on. Wordpress works with PHP5 as stated on the website.
I setup the site in IIS, and ran the Wordpress installer. It installed fine (databases were created, etc.) and the main home page loads. NOW, WHEN I HIT REFRESH, I GET THE FOLLOWING ERROR:
Fatal error: Cannot redeclare wp_unregister_globals() (previously declared in Z:\wordpress\[url removed, login to view]) in Z:\wordpress\[url removed, login to view] on line 19
Naturally, you would look at the [url removed, login to view] file to determine what the issue is, but this is a fresh, unmodified install of Wordpress that should work out of the box.
*** NOW, IF I WAIT ~10 MINUTES AND THEN HIT REFRESH, THE PAGE WILL LOAD AGAIN PERFECTLY WITHOUT AN ERROR, but if I hit refresh quickly again, it will give the error.
This has nothing to do with register_globals being on or off (I've tried that).
I'm fairly sure it has to do with something either in my [url removed, login to view] file or maybe IIS settings. I configured IIS to expire pages immediately, but that didn't seem to have an effect. It seems what's going on is that once the PHP page has been served, it's remaining in the server's memory and when it's called again, it's loading the file but has the old file in memory, leading to these redeclare errors.
AGAIN, THIS IS URGENT.