PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Using PERL 5.6.1.631, PHP 4.3.1, win NT4.0 & iis webserver.
Trying to call a PERL script from within my PHP script. The PERL script works find from the command line, but causes the browser (I.E.) to hang if called by the PHP web script.
exec("start C:\\pathto\\PERLscript\\test.pl");
[\php]
And several other flavors, but can't get the script to execute. The perl binary & path & script has iis guest internet user permissions set to full control. So full paths are being indidated, and the binaries/paths/code has full permissions.
Any ideas why my call to the PERL script would be hanging?
Thanks for any help/suggestions!
tried with a hello-world perl script? e.g. does it execute the script at all?
What happens if you execute the php script from command line, does it still hang?
thanks for the pointers Stoker, I've finally got it working.
1st: The file type .pl or .cgi wasn't properly setup in the windows file extension list.
2nd: I was missing a perl100.dll, which I happened to have in an older (backed up) perl installation. So I just copied that dll into the dir where the perl executable is.
Calling PERL scripts from PHP web scripts now work.