Microsoft
Software
Hardware
Network
Question : Problem with require('./wp-blog-header.php'); The ./ is throwing a 500 error message.
Problem with require('./wp-blog-header.
php'); The ./ is throwing a 500 error message.
I am running on a Windows 2008 server, 64 bit, with IIS7.
You can see my php info at
http://www.greatersba.org/
php-info.p
hp
I have a Wordpress installation, that I discovered this issue in. But the problem doesn't seem to be a Wordpress issue, it seems to be more of a PHP on Windows issue.
For some reason, in the information I found (when looking around) the use of ./ is supposed to tell PHP to look in the "currrent folder" for the file that is being called, as in require('./wp-blog-header.
php');
But, with the ./ in front, I always get a 500 error. Even if I put just a / I get a 500 error.
I would like to fix this if possible so it would work normally, but since I am on a Windows 2008 server with IIS7 .. I am not sure how to get this to work properly. Most of what I see on the net refers to Linux servers.
Can someone explain why it's not working properly on my Windows server .. and what I might be able to do or change (somewhere) so this will work (without my having to remove the ./ in front of the file name??
Thanks,
Gary
Answer : Problem with require('./wp-blog-header.php'); The ./ is throwing a 500 error message.
On a windows install I do not believe you need the ./ or the / just:
require('wp-blog-header.ph
p');
I will have to connect and look at one of mine but I am out of the office right now. Give that a try though and let me know.
Random Solutions
phpbb forum
ACT 2009 - How to Move database
varchar column1 sort, want to add 'hello'
Does anyone know how to make a disk image from the iphone memory?
DOS print to PDF ?
SQL AFTER UPDATE TRIGGER
visual studio 2005 express
Which is quicker, a macro or code?
Help needed with iphone Configuration Utility, SSL certificates ,& SBS 2003
Windows 2008 ServeRaid driver