Discussion:
Calling PERL with exec() and system()
(too old to reply)
Jay Link
2006-05-15 15:04:02 UTC
Permalink
Hi there --

I'm trying to call a PERL script from PHP on Netware 6.5.

On the console, I can type:

perl scriptname.pl

and it works fine. However, when I do it from PHP, nothing happens. When I
look at the console, I see:

Loading Module PERL.NLM [ INIT FAIL ]


I've tried this with "Safe Mode" On & Off, and with:

safe_mode_exec_dir = "sys:/system"

for PERL.NLM, but to no avail.

Does anyone have any ideas or experience with this?

Thanks!

- Jay
kmurugan
2006-05-17 09:49:58 UTC
Permalink
Can u please update about the PHP,Perl,LIBC versions which u are using it
here.

Regards
K.Murugan
Post by Jay Link
Hi there --
I'm trying to call a PERL script from PHP on Netware 6.5.
perl scriptname.pl
and it works fine. However, when I do it from PHP, nothing happens. When I
Loading Module PERL.NLM [ INIT FAIL ]
safe_mode_exec_dir = "sys:/system"
for PERL.NLM, but to no avail.
Does anyone have any ideas or experience with this?
Thanks!
- Jay
kmurugan
2006-05-17 09:50:36 UTC
Permalink
Can u please update about the PHP,Perl,LIBC versions which u are using it
here.

Regards
K.Murugan
Post by Jay Link
Hi there --
I'm trying to call a PERL script from PHP on Netware 6.5.
perl scriptname.pl
and it works fine. However, when I do it from PHP, nothing happens. When I
Loading Module PERL.NLM [ INIT FAIL ]
safe_mode_exec_dir = "sys:/system"
for PERL.NLM, but to no avail.
Does anyone have any ideas or experience with this?
Thanks!
- Jay
kmurugan
2006-05-17 09:52:12 UTC
Permalink
Can u please update about the PHP,Perl,LIBC versions which u are using it
here.

Regards
K.Murugan
Post by Jay Link
Hi there --
I'm trying to call a PERL script from PHP on Netware 6.5.
perl scriptname.pl
and it works fine. However, when I do it from PHP, nothing happens. When I
Loading Module PERL.NLM [ INIT FAIL ]
safe_mode_exec_dir = "sys:/system"
for PERL.NLM, but to no avail.
Does anyone have any ideas or experience with this?
Thanks!
- Jay
Loading...