I have a strange problem.
I am working with Windows software that is written by me, and a third party.
The third party has created an installer. This installer runs requests admin rights programmatically. This installer also installs Apache as a Windows Service. Because the installer is running with admin rights, we expect the Apache Windows Service to run with admin rights.
The problem that we are seeing is that we get different results from a php script running on Apache, depending on how Apache is launched.
If Apache is running as the Windows Service, installed via the installer mentioned above we get the wrong result. If Apache is started from the cmd prompt (which starts as User Administrator) then the php script gives the correct result.
Can anyone suggest what could be going wrong?
NB. The php script is running CutyCapt.exe (an website to png capture utility).