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

Could not open the ICU common library #39

Closed paymentplugins closed 7 years ago

paymentplugins commented 7 years ago

Hi Guys,

I am getting an apache error that some required dlls can't be found.

Steps so far:

  1. Unpacked and added nwrfcsdk from SAP Marketplace.
  2. Added C:\nwrfcsdk\lib folder to Windows environment variables under PATH
  3. Added php_sapnwrfc.dll extension to php.ini

Receiving the following message in apache error log. Could not open the ICU common library. The following files must be in the path described by the environment variable "PATH": icuuc34.dll, icudt34.dll, icuin34.dll

The error is occurring when I attempt to connect as follows: use \SAPNWRFC\Connection as SapConnection; $connection = new SapConnection($myprops);

Any help is much appreciated.

gkralik commented 7 years ago

Are the required files in PATH?

On 13 May 2017 12:42 am, "Payment Plugins" notifications@github.com wrote:

Hi Guys,

I am getting an apache error that some required dlls can't be found.

Steps so far:

  1. Unpacked and added nwrfcsdk from SAP Marketplace.
  2. Added C:\nwrfcsdk\lib folder to Windows environment variables under PATH
  3. Added php_sapnwrfc.dll extension to php.ini

Receiving the following message in apache error log. Could not open the ICU common library. The following files must be in the path described by the environment variable "PATH": icuuc34.dll, icudt34.dll, icuin34.dll

The error is occurring when I attempt to connect as follows: use \SAPNWRFC\Connection as SapConnection; $connection = new SapConnection($myprops);

Any help is much appreciated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gkralik/php7-sapnwrfc/issues/39, or mute the thread https://github.com/notifications/unsubscribe-auth/AEuFN3zMV3peNPGPApH_gMlcrSHxtmsOks5r5OBVgaJpZM4NZ2uO .

paymentplugins commented 7 years ago

Yes, all the dll's are in the C:\nwrfcsdk\lib folder and the include folder is there as well. In addition, echoing the %path% shows that the system variable is set.

Thanks,

paymentplugins commented 7 years ago

I downloaded the old 32 bit files from sourceforge and added them to the C:\nwrfcsdk folder and I am now able to connect. ¯_(ツ)_/¯