How to get SAPRFC working on XAMPP 1.6.2? Try this.

Hi
I have just managed to get SAPRFC working with XAMPP 1.6.2 (released on  29/05/2007). I noticed there was not much information on XAMPP in the PHP Development forum, so thought this might be useful for anyone who may wish to use it.
I originally started with Craig Cmehil's post <a href="/people/sap.user72/blog/2005/05/15/getting-started-with-php started with PHP</a>. I already had XAMPP installed, so just needed to update it and add SAPRFC support.
I am using the following:
Windows XP SP2
XAMPP 1.6.2 - <a href="http://www.apachefriends.org/en/xampp-windows.html">http://www.apachefriends.org/en/xampp-windows.html</a>
This includes:
1. Apache 2.2.4
2. MySQL 5.0.41
3. PHP 5.2.2 + 4.4.7 + PEAR + Switch
4. And other modules included. See XAMPP website for more information on the extra modules included.
SAPRFC  1.4-5.20 - Re: PHP 5.2 and saprfc 1.4.1. This provided me with a link to SAPRFC 1.4-5.2.0. Using the php_saprfc.dll file included in this ZIP file solved the problem.
<u>Instructions</u>
1. Install XAMPP and follow setup taking defaults (I installed to C:\DEV\XAMPP)
2. Extract SAPRFC to a suitable location (e.g. C:\DEV\SAPRFC)
3. Copy the php_saprfc.dll file to the XAMPP\PHP\EXT folder (as defined in the extensions_dir in PHP.INI).
4. Copy the remainder of the SAPRFC ZIP file to the XAMPP\HTDOCS folder. Create subdirectory if required.
4. Edit PHP.INI and add the line <i>extensions=php_saprfc.dll</i> You will need to add this after the last <i>extensions=<some_extension>.dll</i> line.
5. Shutdown and restart Apache using the XAMPP Control.
6. Launch Internet Explorer and go to page <i>http://localhost/saprfc_test.php</i> or if you have put the SAPRFC PHP files in a subdirectory go to <i>http://localhost/yoursubdirectory/saprfc_test.php</i>.
7. By running the saprfc_test.php file you should see a logon page.
It should now be working on the PHP 5.2.2. I have not tested with the 4.4.7 version.
That's all you need to do, so you should now be able to test some of the examples that are in the Blogs.
Best of luck
Nick

Hello everybody,
I've found simple solution for all problems with "Generate Activation Context failed for  ... php_saprfc.dll". This has something to do with missing libraries at your system.
The next trace in Event viewer -> System was:
"Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.
The solution is install: Microsoft Visual C++ 2005 Redistributable Package (x86)
"vcredist_x86.exe" available at Microsoft downloads page.
Good luck
Michal.

Similar Messages

  • TS1814 I have an iPhone 3GS and was trying to restore it. Now it won't let me activate my phone and my itunes tells me I have no SIM card inserted when I do. Any ideas on how to get it working again?? I'm dying without it!

    I have an iPhone 3GS and was trying to restore it...
    Now it won't let me activate my phone and my itunes tells me I have no SIM card inserted when I do.
    Any ideas on how to get it working again?

    This means that the phone was previously hacked to carrier unlock (unauthorized unlock), and when you restored, the hack was removed and it became re-locked to its original carrier.  It will now accept a SIM card only from that carrier.
    Your only option is to contact the carrier it's locked to and enquire if they will provide authorized unlocking.  Not all carriers will unlock and those that do usually have requirements and qualifications - i.e. you have to be a current or former customer in good standing.

  • Ive just upgraded to Mountain lion, I was using Safari and tried to use iCloud tabs. When I open it up there are no tabs there, anyone have any ideas on how to get it working?

    Ive just upgraded to Mountain lion, I was using Safari and tried to use iCloud tabs. When I open it up there are no tabs there, anyone have any ideas on how to get it working?

    Can you check system update? I think I did a system Update 1st, a day before installing OSX Lion and there is a Safari update. If not try logging in iCloud.

  • I installed Photoshop Elements 12 and its icon is on desktop, but when I launch it, I get error messages.  How to get it working?

    I installed Photoshop Elements 12 and its icon is on desktop, but when I launch it, I get error messages.
    How to get it working?

    My guess is that you won't be able to do much if you threw away the serial number before using it.  The serial number will not have been externally visible on the box though... doing that would make it available for use by anyone who sees the box in any store.
    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    If you remain unable to locate the serial number you might need to head back to wherever you purchased the product to confirm whether or not you might have thrown out the serial number or if it could even possibly have never been provided.
    Beyond that you need to resolve serial number issues with ASdobe Support directly.  Here is a link for chat:
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Hi My Iphone 4 keeps on turning off with no reason and there is no way of turning it on. any advice of how to get it working?

    Hi My Iphone 4 keeps on turning off with no reason and there is no way of turning it on. any advice of how to get it working?

    I guess but that was what I was on earlier but it wasn't of much help.
    I need to chat with an apple person but don't know how if I don't have a phone accessible.
    Is there a way to connect thru a laptop or something?

  • How to get a work roster into ical

    Hi there
    Does anyone know how to get a work roster into ical so I can then sync it with my iphone and view my roster on my phone?
    Any help would be greatly appreciated.
    All the best
    Enigma

    Depends on the format of the "work roster" - if it's a calendar file, you can import it with File menu > Import. If it's some other file type, you may not be able to import it and need to enter the events manually instead.
    You might try the iCal forum.

  • How to get QTP11 work with FF17. Unable to get Quicktest Proffessional11 plugin

    How to get QTP11 work with FF17. I have already installed Patch_090 and 0122.
    Unable to get Quicktest Proffessional11 plugin even after creating temp directory, into FF “extensions” directory.
    Please help

    If I may ask is there a recommended version of Firefox for the extension? [http://www.qatutorial.com/files/QTP_Install_Guide.pdf] is all I could find on how to install the software, is this the right add on?

  • I reset my macbook pro a few days ago.. and when i started to use it again i noticed all my apps were gone (keynote, iMovie, garage band, etc) i don't know how to get them all back and every time i try it tells me i must buy them.. what do i do?

    I reset my macbook pro a few days ago.. and when i started to use it again i noticed all my apps were gone (keynote, iMovie, garage band, etc) i don't know how to get them all back and every time i try it tells me i must buy them.. what do i do?
    should i come into the actual apple store or can you help online ?

    Hi vickkjayy11 and welcome to Apple Support Communities,
    Just to be clear, we are a peer to peer support community and have nothing official to do with Apple.
    So to your problem, when you say:
    "I reset my macbook pro a few days ago"
    What exactly happened? Did you have a Time Machine backup?
    Read this:
    OS X: About OS X Recovery - Apple Support
    It would help to know the exact model (size and year) and which OS you're using.

  • How to get passwords working in Pages documents?

    I've set a pages document to require a password to open. When I open the file, it opens without requiring this password. Any thoughts on how to get the password working? The doc is on icloud, could that be a factor?

    Finally, I've added a new field movement in transaction GCF2 with sender tables ACCHD, ACCIT_GLX AND ACCCR. The joint venture name comes only from FI documents and not JVA documents, so, only JVA information of P&L accounts is available.
    Best regards,
    Alfredo Del Portillo

  • How to get xbar working?

    I have kdemod 4.2 and I can't get Xbar working with Bespin. All I get is an X icon saying Cannot find requested component : xbar

    pressh wrote:Have you compiled bespin against kde 4.2 or was it compiled against an earlier version?
    Ok.. I guess an earlier version.. How do I get the latest bespin?

  • HT3529 I've never been able to use iMessage or FaceTime and its really making me mad...any idea how to get it working?

    I've had my iPod for over six months and I haven't been able to access FaceTime or iMessage...not to mention my camera stopped working for no reason!

    For the camera problem try the following:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory settings/new iPod.
    If you still have the problem that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order
    For FT and Messages:
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    How to get started with iMessage | How To – CNET
    iOS 5: iMessage not working – how to fix - Apple Toolbox
    Also:
    - Go to Settings>General>Time&Date and make sure it is set to Automatic
    - Go to Settings>wifi>the connected network and change the DNS to Google's 8.8.8.8
    - Settings>General>Reset>Reset Network Settings. You will have to reenter all network passwords.

  • BI Beans 9.0.4 - How to get it Working

    Hello ... Hoping this is not an old boring issue, i hereby give some advice on how to get the Oracle 9iR2 database with OLAP option and BI Beans to work.
    I had dificulties with this subject for two weeks now, I asked for help on all forums and I thank everyone for their patience.
    Here goes:
    1. Install Oracle 9iR2 (9.2.0.1) Enterprise edition.
    2. Download and apply the 9.2.0.6 patch, available on metalink.
    3. Follow carefully the pre and post install instructions for the patch, in the readme file.
    3. Install Oracle 10g(9.0.4) JDeveloper just by unpacking the contents of the zip (available on OTN) in a folder (D:\OraDS let's say).
    4. Install the Oracle 9.0.4 BI Beans, using the Universal installer and specifying a new Oracle Home exactely in the folder where Jdeveloper was installed (d:\OraDS).
    5. Install the BIBDEMO schema by running
    bibdemo.bat %ORACLE_HOME%\oradata\Database_name
    6. Run the test to check if everything's allright
    d:\OraDS\bibeans\bi_checkconfig\bi_checkconfig.bat -h hostname -po port -sid sid -u user -p password -qusing BIBDEMO/BIBDEMO as user/pass. If metadata retrieval is successful, then you have a running BIBDEMO schema.
    OK ... now, assuming you have some business intelligence problem of your own, you might want to create your own schema. This is where I ran into another load of problems.
    My advice is to sudy the contents of the sql files in the bibdemo schema and do exactely the same stuff for your own.
    You will find it easy to create dimensions and cubes using the wizard.
    BUT, if you do anything wrong, not only your metadata won't work, but it will also ruin BIBDEMO.
    After creating your own objects, you have to run
    exec cwm2_olap_metadata_refresh.mr_refresh;
    commit;
    If you run bi_checkconfig you will see the metadata unable to be retrieved. In JDev it will result in strange errors like <<Although it successfully connected to the database, the metadata couldn't be retrieved>> ... or something, or simply in not being able to see your measure folders when you try to make a presentation or graph.
    Also, cube viewer will again show the "infamous bell error", although it works for the BIBDEMO ANALYTIC CUBE after completing the 6 steps I described.
    The fact is that all the errors are not product related, but simply the result of creating incorrect OLAP objects and refreshing the metadata using an user that has OLAP_DBA role, thus spoiling all metadata, including BIBDEMO's.
    I spent some time studying their schema, and I found something very interesting, which I thing is a mistake. All my tables (and also the fact table) had primary/foreign keys of the NUMBER type. I transformed all the primary keys in my tables in VARCHAR2, ran the metadata refresh procedure again, and everything worked. Don't forget to create a measure folder and add your own measure there, and after that ... way you go. You will see them in JDev, and you will be able to do all kinds of graphs or crosstabs with amazing ease. Pretty slow though, I reccomend at least 512MB of RAM, an strong processors.
    Please advice me if I was wrong with turning the keys from NUMBER to VARCHAR, perhaps there was another way around, but I don't know. Also, if there are any instructions, post them here.
    Thanks.

    I remember this being an issue with 92041 but was supposed to be fixed in 9205 and I think we tested it worked okay. So, it could be that 9206 has reintroduced the problem? I would recommend logging a bug with Oracle Support because you should be able to create dimension keys based on numberic keys.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Satellite L450D 11X - How to get WLAN working again?

    Hello,
    I've recently had problems with my 4 year old L450D 11X machine with everything slowing up.
    I seem to have sorted this problem by reinstalling Windows 7.
    Now I can only get access to broadband via an Ethernet cable. I've downloaded the Realtek RTL802E/8103 Drivers and run them to see if that will solve the problem, but it didn't work.
    I'd be grateful for any suggestions to how I can get the wireless connection back.
    Thanks

    Thank you for your reply.
    I managed to get it working again after downloading a further Realtek Driver which was highlighted as missing in one of the systems files.
    I had tried the F8 key before but with no luck.
    I had had a problem with the machine for a couple of months and had restored factory settings a couple of times, but it kept slowing up.
    So I then got hold of another copy of the Windows 7 and that so far has worked except for the problem with the broadband access.

  • Java! How to get it working?

    I have just started by running into trouble, can you help me?
    - I've written my first Java file, and saved it as Fruit.java OK?
    - Now I want to get it working, OK??
    FIRST METHOD:
    If I just use the JDK 1.3 (I downloaded it here as the SDK 1.3), I need to compile it to Fruit.class by typing javac Fruit.java in the Windows MS-DOS command window.
    The problem with this is that I don't understand MS-DOS! I start with a truncated list of directories, and I feel like I've ended up in the computer stone age, without a clue how to lift stones (in this case to remove the directory list). I don't want to learn MS-DOS of course! (RU kidding?)
    SECOND METHOD
    Deciding against the first method as being too primitive, I opted for JBuilder 4 Foundation as my Java editor. Looks a lot better!
    But now I can't get rid of the Welcome pages, and I can't seem to be able to run my Java.fruit file. There is no command line either.
    I am able and willing, but what can I do?
    Groeten uit Holland
    Frans Lelieveld

    It's not the same as MS-DOS but you really do need to learn to work from the command line. It's probably seems boring now, but it's really a prerequisite to using Java.
    There are plenty of graphical Java IDEs out there, but honestly, those are at least as much trouble to get set up and working properly.

  • How to get radio working on my N91?

    hey, i got my N91 on saturday and i dont know how to get the radio working...it says you need some enhancements but i cant find it anywhere on the internet or on the cd supplied with it... otherwise the phone is great Thnx Mayhs

    did you get the remote control lead with the phone?
    Plug that in with the headphones and the radio should start to work for you

Maybe you are looking for

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

  • I want to revert my Macbook Pro 13" to earlier time?

    Yesterday I mistakenly opened Entourage in Office 2008 and clicked on the MYDAY option. I just wanted to see it but never used or enabled Entourage. To my surprise, every-time I restarted the computer the stupid MYDay icon would appear in my Dock. I

  • Error KBAPI 002 in BAdi Retraction BPC to ECC

    Hello experts, We are using the BAdi for retraction to ECC but the information is not showing in the report it should be. We were debugging and we found an ERROR: KBAPI 0002 , The message says "Transfer a CO oobject". We do have a Cost Center that is

  • About Receiver XI Adapter Configuration

    Hi Experts, I am configuring the Receiver XI Adapter for ABAP server proxy, I am following this link http://help.sap.com/saphelp_nwpi71/helpdata/en/f4/0a1640a991c742e10000000a1550b0/content.htm Here Addressing type is URL Address then where can I fin

  • Blob downloaded, not displayed

    Hello. We have apex application with one record report that shows image. We use database procedure to show image. And call it in apex like: '<img src="show_image?p_id=' || NVL(dp.id, 0) || '" height="200" width="200" />' as imageBut the image is not