Quantcast
Channel: SCN: Message List - Scripting Languages
Viewing all articles
Browse latest Browse all 1708

SAPRFC Installation - My Experience

$
0
0

Hi, I finally got SAPRFC working and I wanted to share my experience for anyone who might find it usefull, since it took me a lot of searching and reading.

 

Software Needed

  • Wampserver - It can be the latest one (Link)
  • Wampserver PHP 5.1.1 Add-on - This is the version of PHP that worked for me (Link)
  • Wampserver APACHE 2.0.54 Add-on - This is the version of APACHE that worked for me (Link)
  • You should have SAP GUI installed, if not, you have to download the librfc32.dll file and put it in your Windows/system folder.
  • And of couse SAPRFC v1.4.1-5.1.1 (Link)

Installing

  1. Install Wampserver, Wampserver PHP Add-on and the Wampserver APACHE addon, in that order. When all is installed, start wampserver and in the wampserver tray icon left click then go to Apache->Version->2.0.54, it should restart the service. Then do the same but PHP->version->5.1.1, and there will be another restart.
  2. Unzip SAPRFC to the c:/wamp/www/ folder and move the php_saprfc.dll file to c:/wamp/bin/php/php5.1.1/ext/.
  3. Open php.ini and add the line extension=php_saprfc.dll.
  4. Click on the Wampserver tray icon and restart all services.
  5. Check your http://localhost page and check that the saprfc appears on the loaded extensions list.
  6. If it doesn't appear, check you apache_error.log (You can do this left clicking on the Wampserver tray icon on Apache->Apache error log).

 

So this was the method I used to get SAPRFC up and running. I you know a better way, please share it. So, hope this helps!


Viewing all articles
Browse latest Browse all 1708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>