Jones: UNIX-Fehlermeldung mit EXEC ausgeben

Beitrag lesen

To get the output of the executed command, be sure to set and use the output parameter.

Das habe ich natürlich auch schon probiert:

exec("more test.html", $output);

foreach ($output as $val){
    echo $val."<br>";
  }

Genau das selbe Problem!