I have been having troubles trying to get exec to work on a Linux box. The code is as follows.
When I use the above code, nothing happens. When I run the command on the command line, it works. Is there a switch that I have to turn on to execute an external command?
I have tested the values of the variables and there is data.
The permissions on the folder is 777 (for testing only) apache.apache and still the file cannot be created.
TIA
Mike
Code:
exec('/var/[URL unfurl="true"]www/html/make-vnc.sh[/URL] $ip $port $hostname');
When I use the above code, nothing happens. When I run the command on the command line, it works. Is there a switch that I have to turn on to execute an external command?
I have tested the values of the variables and there is data.
The permissions on the folder is 777 (for testing only) apache.apache and still the file cannot be created.
TIA
Mike