Jump to content

Recommended Posts

Hi all,

I am using Apache 2, php 4.4.4 on win2k. I have an executable file when i pass some parameters in this file it's returns and XML string.

When I run this with APACHE server it's work absolutely fine, But when I tested this script on IIS this script fail.

My code is:

$file = "c:/path/to/file/file.ext";
$executable = "c:/path/to/executable/ext";
$command = "$executable -jf yes -if $file";

exec($command, $output, $return);

On apache it's runs successfully but on IIS it returns 128. I also tried other commands like system, shell_exec, passthru but the result is same. I also used cotted commands but they work only on apache not on IIS.

I dont know what this 128 stands for Question.

Please help me.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.