I am trying to run the following perlscript from php page. But unfortunately, it failed without giving any error.
exec("PERL C:/Program Files/Zend/Apache2/htdocs/Scripts/test.pl");
But when I am trying the same perl command from command line interface, it runs successfully.
PERL C:/Program Files/Zend/Apache2/htdocs/Scripts/test.pl
Can anybody advise, where i am making mistake? I need to invoke the same perl command from php. Thanks in advance!!
Content of test.pl
#!/usr/bin/perl
print "Hello World!\n";
Regards,
Deepali