Ec (2); the server cannot execute exe, but the php program needs to use exe. Is there any way? In this case, I need to use ffmpeg to compile a video conversion project in linux after several failures (not familiar with linux, these two days), so I had to implement the local machine through exec () in windows (); if ffmpeg is executed, but cannot the server execute executable files? Is there any way? You can skip the planning task, but the. exe file cannot run in LINUX. script ec (2); script
The server does not allow the execution of exe, but the php program needs to use exe. Is there a solution?
Yes.
I need ffmpeg for a video conversion project.
Failed to compile in linux (not familiar with linux), so I had to implement it in windows.
The local machine uses exec (); To execute ffmpeg, but the server cannot execute executable files?
Is there any way?
It seems that you can schedule a task, but it is not set
The. exe file cannot run in LINUX, but you can try wine, but I don't think you can touch the server either.
If the server wants to restrict you from running executable programs, there is no way to run them.
You can contact the Administrator to check whether the task can be run.
Execute the PHP file with php.exe through the scheduled task batchcompute.