You should only run console applications, not gui apps.. Also, by default Apache is installed as a system service, and in that case it doesn't make sense to run graphical apps.. -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com "Brian Stakes" <brian.stakes@xxxxxxxxxxxxxx> skrev i meddelandet news:44903E24.5050709@xxxxxxxxxxxxxxxxx >I am trying use PHP to run an application on Windows XP Pro machine. The > application runs from the command line however, when I try to run it > through Apache (I've tried called the script through a browser and a > SOAP service) the application will not run. I have tried the exec, > shell_exec and system commands. > > How can I get my Application to execute when it is called through Apache? > > > example code: > system("notepad.exe"); > > -- > Brian Stakes > http://www.voipsupply.com > brian.stakes@xxxxxxxxxxxxxx > 800.398.VOIP - Toll Free > 716.630.1555 - x3874 > 716.250.3874 - Direct > 291176096 - ICQ > VoIPSupplyBrianS - AIM -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php