I have an exe file that I’m calling through php using the ‘system’ command. The exe file then makes calls to Microsoft mapi for some reason that i don’t know the mapi is not getting initialized when i call the exe through php but if i run the exe from command line it works fine. Any clue why?
p.s I m running iis on 2008 server
This likely has to do with permissions. PHP will run under whatever user account IIS is configured for that resource.
Also, make sure your paths are correct. If you haven’t already, start by explicitly defining the path.