It’s been a tough morning. I’ve had numerous cups of coffee and hit my head against numerous walls trying to find out why I couldn’t get PHP to run PGP and encrypt some data. I’ve been developing in Apache and PHP for years, but recently my new job has required me to work under IIS Windows systems more and more. This is where I ran into problems, especially with PGP telling me that it couldn’t find key files even though they were blatantly in the right place. I hope this helps someone!