上了shell_exec權限我有以下問題:如果我將Windows Server 2012中上執行通過shell(CMD.EXE)殼牌,放慢參數它執行完美。但是,如果我通過PHP(shell_exec)執行相同的操作,但無法訪問模板文件。PHP:在Windows Server
aerender ERROR: No render settings template was found with the given name.
這裏是代碼
PHP:
<?php
chdir('C:\\Program Files\\Adobe\\Adobe After Effects CC 2015\\Support Files\\');
shell_exec('aerender -project C:\server\htdocs\ae\final3\final.aep
-comp "clouds- rotation-low" -RStemplate "E2Z640blur"
-OMtemplate "E2Z640" -output C:\server\htdocs\cache\clouds-rotation-low.avi')
?>
我已經更改了路徑。我找到了解決方案 – dazzafact