Connect PHP to SAP R / 3 using SAPRFC - Unable to initialize module

Purpose: Use PHP 5.3 to connect to SAP ECC 6 Configuration: Windows XP desktop. Using the open source extension SAPRFC PHP. Added php_saprfc_530.dll to the php ext directory and added extension on php.ini

When restarting Apache, an application event reported this error:

PHP Startup: saprfc: unable to initialize module Module compiled with assembly identifier = API20090626, TS PHP compiled with assembly identifier = API20090626, TS, VC6

These parameters must match

  • Any way to get this to work without recompiling PHP (ugh)?
  • Does anyone successfully use SAPRFC?
  • Other options for connecting to SAP with PHP?
+3
source share
1 answer

I can’t say exactly what happened with the php connector since I am using a java connector. But there is another way: try to expose the functional modules on the ERP side as a web service, and then call them through SOAP.

+1
source

Source: https://habr.com/ru/post/1746286/


All Articles