This is a quick tip to those who are having trouble installing or using WordPress on Windows Server with PHP.
Make sure in the PHP.ini file that the following is set:
magic_quotes_runtime = Off
If this is ON, WordPress will not allow you to login. It will spit out the following error:
“You do not have sufficient permissions to access this page.”
You CAN have magic_quotes ON though, which is a different setting. The above setting is for data being pulled from a MySQL database for example.
Also make sure the following is set:
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
; this to 1 will cause PHP CGI to fix it’s paths to conform to the spec. A setting
; of zero causes PHP to behave as before. Default is zero. You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.