the script needs no php but perl.
But from your previous post, it looks like you sucessful installed perl.
Maybe you do not have set the "script Alias" in apache for the execution of scripts.
Or the "ExecCgi" statment is not added to the directory where your script is located ?
here:
How to install Perl on Windows | ricocheting.com