Hi,
Is there a way to run:
dpkg -b
In php 5?
Everytime I run
system("dpkg -b [dir]",$collect);
$collect returns: 127;
What am i doing wrong?
Try doing:
echo shell_exec("dpkg -b [dir]");
and let us know what the output is.
bradgrafelman;10938251 wrote:Try doing: echo shell_exec("dpkg -b [dir]"); and let us know what the output is.
Nothing is output. :queasy:
Thanks for the prompt reply too!
Any Ideas?
Contact your host and see if it's a configuration or permission issue?
Sorry, I'm not sure how to proceed; I tried Google'ing 'dpkg error 127' but didn't get any meaningful results, so I don't even know what the status code even means.
Yeh, It's a very odd situation.
I'll contact them today.
Is there an alternative to packing a deb with linux?