php - 通过浏览器运行通过centos 7中的php代码将Docx转换为html不起作用
问题描述
$result = shell_exec('export HOME=/var/www/html/ && soffice --headless --convert-to pdf --outdir /var/www/html/ /var/www/html/xyz.docx');
echo $result;
通过浏览器运行通过centos 7中的php代码将docx转换为html不起作用,请有人帮助我.....
解决方案
推荐阅读
- uwp - VS2017 中的 UWP 应用程序,其中资产文件设置为构建内容 - 始终复制不会复制到 LocalState 文件夹
- node.js - 错误:尚未为模型“项目”注册架构
- java - 在 java jre 上运行带有单个 jar 文件的 groovy 未编译脚本
- python - 一个班轮“如果不是无则分配”
- python - Python:在熊猫中制作数据框
- docker - helm 自定义图表 ErrImagePull
- javascript - 如何在我创建的 wordpress 中将我的主题中的 javascript 排入队列?
- firemonkey - 如何在 Delphi iOS 应用程序中处理暗模式
- laravel - 如何从下载的 (.zip) 存储库提交?
- javascript - 数据如何通过 gprs 从 gps 跟踪器到达 node.js 服务器?