Knowledge Base FAQ Item #1660020
Q1660020: I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught Error: Class "COM" not found in C:\Xampp\htdocs\networkcomponent\index.php". What's wrong?
By default, COM is disabled in Xampp. You must enable COM in your PHP.INI file:
Besides that, make sure you register both 32-bit and 64-bit DLL's to avoid errors like "Uncaught com_exception: Failed to create COM object 'AxNetwork.DnsServer': Invalid syntax in C:\Xampp\htdocs\networkcomponent\index.php".
To do so, please register both 32-bit and 64-bit DLL's from the command line in Admin mode: