如何使用 PHP 配置 SAPRFC

如何使用 PHP 配置 SAPRFC

我正在尝试使用 PHP 配置 SAPRFC,但失败了,我尝试了很多方法,也参考了太多的链接,使用谷歌搜索,但没有找到解决方案,所以如果有人配置了相同的,请告诉我们如何配置它

我使用以下选项进行编译

./configure --with-saprfc --enable-so

问题

error: expected specifier-qualifier-list before ‘RFC_UNICODE’
make: *** [ext/saprfc/saprfc.lo] Error 1

眼镜 CentOS 6.4 64 位

我已经提到配置页面

答案1

在 PHP 5.4.x 中,您必须更改文件 saprfc.c 第 47 行的代码。将 function_entry 更改为 zend_function_entry。

致谢: http://rotyyu.blogspot.com/2012/03/install-modul-sap-rfc-141-untuk-php-540.html

相关内容