I am facing problem with running perl script inside php file. Please find my simple perl and php program below. I have installed both php and perl successfully in my windows machine.
test1.pl
print "Hello from perl! "
test.php
<?php
print "Hello from PHP! ";
passthru(“perl test1.pl”);
?>
The passthru is not returning anything. It is not executing the perl script. I also tried with exec() function.
Can you please help me on this?