tags:

views:

202

answers:

2

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 ID=API20090626,TS,VC6

These options need to match

  1. Any way to get this to work without recompiling PHP (ugh)?
  2. Anyone is using SAPRFC successfully?
  3. Other options to connect to SAP from PHP?
A: 

Hello,

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.

Stefan Ernst
A: 

Hi everybody, I got the same problem J.Simmons faced few months ago... Exactly the Same error message. I'm using XAMPP 1.7.3 (latest version) so recompiling PHP makes no sense. But I cannot believe there is no other way to connect PHP to SAP... SAPRFC seems to be a dead project, even if last recompile date of php_saprfc_530.dll reports Aug, 14 2009 - 13.22...

Any chance to find on the net something working? Thanks for any advice you could give...

Lester