I have the following Problem: If i execute a Shell-Paramter via Shell (cmd.exe) on my Windows Server 2012 it execute perfectly. But if i do the same via PHP (shell_exec) it execute , but with no access to a Template-file.
aerender ERROR: No render settings template was found with the given name.
here is the code
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')
?>
Ok, now it works! I just changed the apache2 service in Windows to run as Administrator