Jump to content

Problem With PHP exec() command


subhransu

Recommended Posts

Hi,

 

I am trying to execute a ruby script from my PHP script using

exec() command.

 

But it looks like the script is not running properly. My php

script is in the apache directory (/var/www) with user and

group set to root and ruby script is in the home folder.

 

The ruby script is supposed to write some files on that

directory and do couple of mysql calls. But it's not doing

either!

 

Seems like it's a permission issue Any idea how to go for it?

 

Thanks,

Subhransu

Link to comment
https://forums.phpfreaks.com/topic/149834-problem-with-php-exec-command/
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.