ActiveXperts Knowledge Base Article 3650020
By default, COM is disabled in Xampp. You must enable COM in your PHP.INI file:
extension=php_com_dotnet.dll
Besides that, make sure you register both 32-bit and 64-bit DLL's to avoid error "Uncaught com_exception: Failed to create COM object 'AxSerial.ComPort': Invalid syntax in C:\Xampp\htdocs\serialport\index.php".
To do so, please register both 32-bit and 64-bit DLL's from the command line in Admin mode:
REGSVR32 AxSerial32.dll
REGSVR32 AxSerial64.dll
Contact Support
If you cannot find an answer to your question(s) in our Knowledge Base, or if you need additional information or assistance, please contact our Customer Support using the Contact Support form:
Contact Support »