Php/docs/com.requirements

From Get docs

Requirements

COM functions are only available for the Windows version of PHP.

.Net support requires the .Net runtime.