Connect PHP to SAP R/3 using SAPRFC - Unable to initialize module
Goal: use PHP 5.3 to connect to SAP ECC 6 Config: Windows XP desktop. Using SAPRFC PHP open source extension. Added php_saprfc_530.dll to the php ext directory and added extension to php.ini
On restart of Apache, application event reported this error:
PHP Startup: saprfc: Unable to initialize module Module compiled with build ID=API20090626,TS PHP compiled with build开发者_Python百科 ID=API20090626,TS,VC6
These options need to match
- Any way to get this to work without recompiling PHP (ugh)?
- Anyone is using SAPRFC successfully?
- Other options to connect to SAP from PHP?
I cant tell you exactly whats wrong with the php connector since I'm using the java connector. But there is another way: Try exposing the function modules on ERP side as a webservice and then call them via SOAP.
精彩评论