I've been trying to create a PHP script which will run on a locally hosted web server, and will be able to access various programs on my computer through COM. I've had mixed success and failure, and I've been able to narrow down the problem.
If I run the php script using php.exe, it works.
If I run the php script using apache running from the command-line, it works.
If I run the php script using apache running as a service, it fails.
I'm running Windows 7 Pro x64, apache 2.2, PHP 5.3, and the particular program I'm trying to access is MediaMonkey, my music player.
Any ideas? If I have to I can just run the server without it being a service, but I would like to figure this out.