• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Php : The Common Extensibility Platform (CEP) suite couldn't be loaded

New Here ,
Jan 22, 2025 Jan 22, 2025

Copy link to clipboard

Copied

Hi,

 

 

 

I'm using AE in command line. Running through powershell, it works fine

But running through an apache web server, it crashes with the error "The Common Extensibility Platform (CEP) suite couldn't be loaded.".

 

 

 

 

 

$command = '"C:\\Program Files\\nodejs\\node.exe" C:\\Users\\blabla\\script_that_calls_AE.js';

 

exec($command)

 

 

 

 

Why is that?

 

Thanks

TOPICS
Scripting

Views

65

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 23, 2025 Jan 23, 2025

Copy link to clipboard

Copied

LATEST

This is likely the problem of permissions — and it's a very difficult challenge to overcome if you're doing this on Microsoft Windows.

If on Windows, The PHP and the NodeJS process needs to have elevated privleges to run an application that interacts with the desktop.  It's not as simple as using the exec() method in node.  You will need to specify the user account to run After Effects, in addition to other details about running child processes in NodeJS.

You can always call on PsExec from PHP to run the $command.  That tool will allow you to specify alot of things you can tell Windows to do.

 

On macOS, it's an entirely different story and has the same issues.

 

—Arie

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines