gkralik / php7-sapnwrfc

SAP NW RFC SDK extension for PHP 7.3+ & PHP 8
https://gkralik.github.io/php7-sapnwrfc
MIT License
90 stars 35 forks source link

Warning Library #148

Closed MbsmDev closed 1 year ago

MbsmDev commented 1 year ago

I am trying to load the library to be able to use it in php 8.2, and when validating that it has been installed correctly by cmd with the php -m command, it gives me the following warning "Warning: PHP Startup: Can't load module 'C:\ xampp\php\ext\sapnwrfc.dll' as it's linked with 12.0, but the core is linked with 14.29 in Unknown on line 0" and therefore I cannot use the library, I tried to compile it myself but failed.

Has anyone been able to use the library in php 8.2?

gkralik commented 1 year ago

You cannot load a version of the extension built for a specific PHP version (eg. 8.1) with a different version of PHP (eg. 8.2).

As it stands, you have to compile the extension by yourself as I am currently unable to provide builds for a bunch of reasons. If building fails, open up an issue with more details.

MbsmDev commented 1 year ago

Understood, thank you very much!