Jump to content
php.lv forumi

Shell_exec problēma.


zintis8789

Recommended Posts

Labvakar, man ir problēma ar php shell_exec() funkciju.

Es lietoju ubuntu 10.10.

 

Izmantoju šādu skriptu:

$prog = 'sh komp.sh 2>&1';
$out = shell_exec($prog) or die("Error!");

 

Un php man izvada visu laiku Error!

Edited by zintis8789
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...