I got error when i am trying to run import definition using process manger?

Platform : Windows

Error:

Attempted to load class “COM” from the global namespace. Did you forget a “use” statement?

Server threw exception - could not perform action. Please reload the admin interface and try again.

i am not getting any issue when running on ubuntu .

solution :

From PHP, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:

[COM_DOT_NET]
extension=php_com_dotnet.dll

Otherwise you will see this in your error log: Fatal error: Class ‘COM’ not found

The extension is included with php for Windows.