dorkahemp972157683 2013-01-25 06:24
浏览 15

系统输出未在Web浏览器中显示php

I have a command I have tested in the terminal and it works fine, but when I call the command in my script to display the output on the browser it doesn't seem to work. My command takes time for it to display the output in the terminal would this be a contribution why its not displaying on the browser.

set_time_limit (0); 
echo '<pre>';
$output=array();
$last_line = system('cat /home/me/dev/test/working/test_string.txt | java -jar /home/simon/logstash/build/logstash-1.1.10.dev-monolithic.jar agent -f /home/me/dev/test/working/my_itch_con.config',$output);
echo '</pre>';
echo "Complete";
print_r($output);
echo "<br>"; 
  • 写回答

2条回答 默认 最新

  • duanbangzhou7809 2013-01-25 06:33
    关注

    Confirm whether you disable system function in php.ini in disable_function block

    When set error_reporting(E_ALL) to display all error

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度