Re: Re: Executing External Application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I checked the button which should allow apache to interact with the desktop, but to no avail. Was there anything else that you had to do in order to get apache to interact with an Application?

Chuck Anderson wrote:
Brian Stakes wrote:
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");
You may have the same problem I did when trying to use Winzip. You need to tell Windows to allow the service to interact with the desktop.

Run - services.msc. Right click on your Apache service - select Properties and then the Log on tab. Check - Allow service to interact with desktop


--
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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux