Home  >  Article  >  php教程  >  服务器不允许执行exe,但php程序需要用到exe,有没有办法?

服务器不允许执行exe,但php程序需要用到exe,有没有办法?

WBOY
WBOYOriginal
2016-06-08 17:32:30925browse
服务器不允许执行exe,但php程序需要用到exe,有没有办法?
是这样的
我一个视频转换项目需要用到ffmpeg
在linux下编译几经失败(linux不熟悉,这两天才看),只好在windows下面实现
本机是通过exec();执行ffmpeg的,然而服务器不允许执行可执行文件?
有没有什么办法?
通过计划任务好像可以,但不会设置




.exe文件在LINUX下运行不了, 不过可以试试用wine, 但我想你也动不了服务器.
如果服务器要限制你运行可执行程序的话, 是没有办法运行的.
你可以联系一下管理员看看能不能运行.



通过计划任务 bat调用php.exe执行php文件
 


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn