Just finished debugging a persistent error with a PHP5 install on Windows 2003. Kept saying:
“Invalid access to memory location.”
Finally figured out that it means that there is a file or folder referenced in the php.ini that doesn’t exist. To fix, simply search “c:\” and find the uncommented line with the wrong path.