命令行中java使用绝对路径
$p = "/usr/java/jdk1.7.0_80/bin/java -jar ". $jodconverter_path . ' ' . $source_dir . ' ' . $dist_dir;
exec($p, $log, $status);
命令行中java使用绝对路径
$p = "/usr/java/jdk1.7.0_80/bin/java -jar ". $jodconverter_path . ' ' . $source_dir . ' ' . $dist_dir;
exec($p, $log, $status);
转载于:https://www.cnblogs.com/yangcclg/p/6647409.html