Jump to content

Running a Perl Script from PHP,


eFishy

Recommended Posts

Hi,

 

I have a load of perl scripts that I have been running from PHP.

And they all work fine other than this one.

The perl script output's to a text file, now when run in SSH everything works fine, I assume this is because I have admin rights.

But when in PHP it just dies at the point where it open's/writes/creates the text file.

How do I pass the perl script the correct rights from the php code?

I have chmod to 777... 775...

I have also chown to every user I can thing of.

No Joy.

:facewall:

 

Thanks,

eFishy

Link to comment
https://forums.phpfreaks.com/topic/169736-running-a-perl-script-from-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.