exec is a functionality of an operating system that runs an executable file.

learn more… | top users | synonyms

0
votes
4answers
1k views

CGI error from PHP when running exec() on IIS

Windows Server 2003 x64 PHP 5.2 IIS 6.0 The program Ink2Png.exe is set with Everyone->Read and Execute permissions. As does its dependency (microsoft.ink.dll) PHP Safe Mode is off exec() is ...
0
votes
2answers
187 views

Is it ok for php sites running Magento to have the exec function enabled?

We offer a service for Magento sites that requires installation of a Magento extension. For large sites, this extension needs to run a background process which requires the exec function. Our ...
0
votes
1answer
140 views

Executing a command as apache

This script keeps outputting a 1. and I cannot understand why. <?php passthru("nohup sudo rndc reload sd.example.com",$op); print_r($op); ?> I have also tried the above code ...
0
votes
1answer
180 views

Monit runs exec action too often

I've written a script which sends me an sms notification. I call with exec action in monit test. It works, but I'm getting overwhelmed by messages. Is there a way to suppress sending subsequent ...
0
votes
1answer
266 views

Shell script Process PID logging and maintenance using exec

I am trying to launch a java process as a server and then might periodically need to restart/kill it at certain times. Since I use a shell script to launch java jvm(to build classpath), I thought of ...