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

installation issue #63

Closed Zavy86 closed 5 years ago

Zavy86 commented 5 years ago

hi, I followed the instructions on the page https://gkralik.github.io/php7-sapnwrfc/installation.html

Downloaded NWRFC_51-20004565.SAR for Linux on X86_64 (my release id Debian 9)

Extracted with SAPCAR

Moved the nwrfcsdk into /usr/sap/nwrfcsdk

Created the file /etc/ld.so.conf.d/nwrfcsdk.conf with contents /usr/sap/nwrfcsdk/lib and run ldconfig.

but in the directory /usr/sap/nwrfcsdk/lib is not present sapnwrfc.so file but libsapnwrfc.so

addedd to php.ini extension=sapnwrfc.so

reloaded apache2

but the extension does not load

tried also with extension=libsapnwrfc.so into php.ini but it doesen't work too..

can you help me please?

gkralik commented 5 years ago

I just noticed the documentation is a little unclear here: after downloading the SAP NW RFC SDK and setting up ld(1) paths, you need to build the PHP extension (see Building from source). You cannot directly load libsapnwrfc.so as it is no PHP extension.

Zavy86 commented 5 years ago

Aaaaahhh, ok it work now! thank you

ayashanoor commented 4 years ago

Hi Zavy86 Please share the full process about PHP and SAP connectivity.

Zavy86 commented 4 years ago

Hi, I try this https://gkralik.github.io/php7-sapnwrfc/building.html