如何在Xampp localhost中与PHP进行SAP RFC连接


How to do SAP RFC connection with PHP in Xampp localhost

我尝试在Windows系统中设置SAPRFC。

  • 复制php-saprfc.dll文件到php/ext文件夹..
  • php.ini文件中增加extension=php_saprfc.dll
  • 那么我在哪里可以找到librfc32.dll文件在SAP?

我还安装了SAP…

如何设置PHP与SAP?

从此链接下载DLL和php_saprfc文件

访问http://liquidtelecom.dl.sourceforge.net/project/saprfcsapnwrfc/saprfc-1.4.1.zip

首先,您需要确保saprfc已成功安装。检查phpinfo是否列出了扩展名(或在CLI中:php -m)确保您有正确的SAP *.dll !(查看我的第二个链接)

这里有一个较新的版本(SAP NW RFC),有很多信息https://github.com/piersharding/php-sapnwrfc

我还在这里添加了一些windows构建版本,并提供了安装文档:https://github.com/piersharding/php-sapnwrfc/tree/master/builds