Page 1 of 1

calling executabel file problem

Posted: Thu Feb 03, 2011 5:43 am
by batowiise
Hi All,

I have the following script that calls an executable file. It works fine on the testing server but does not function properly on a remote machine.

Code: Select all

<?php
$tmp = exec("C:\\Program Files\\Vehicle Fleet Manager\\VehicleFleetManager.exe"); 
?> 
The path to the executable file is the same on the remote machine.However, when the remote user runs the script, the program rather executes on the testing server.

What am is doing wrong?

Help needed.

Regards.

Re: calling executabel file problem

Posted: Thu Feb 03, 2011 6:46 am
by Peter Kelly
Are there any error messages? or any more information that might help us help you.

Re: calling executabel file problem

Posted: Thu Feb 03, 2011 6:51 am
by batowiise
NO. There are no error message.

Re: calling executabel file problem

Posted: Thu Feb 03, 2011 11:09 am
by John Cartwright
PHP likely does not have permission to access the files. You will need to add your PHP user group to the executable group permissions.