Bitcoin Forum
December 09, 2016, 05:52:58 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoind.exe + (easyphp) or (Server2Go) or (xampp)  (Read 766 times)
hamburger
Full Member
***
Offline Offline

Activity: 131



View Profile
August 02, 2011, 09:09:52 PM
 #1

Hi,

Is there anyone who can give me step by step instructions on how to set up bitcoind.exe on an xp machine and spesifically how to use the bitcoin.conf file.

While https://en.bitcoin.it/wiki/Running_Bitcoin#Windows is helpful, I do not fully comprehend the information due to the language barrier.

When this is done, I would then like to access bitcoin using php running on either easyphp or Server2Go or xampp to verify send and received transaction and everything else that would be nice to know.

You are welcome to send me a pm.

Thank you,

Hamburger
1481305978
Hero Member
*
Offline Offline

Posts: 1481305978

View Profile Personal Message (Offline)

Ignore
1481305978
Reply with quote  #2

1481305978
Report to moderator
1481305978
Hero Member
*
Offline Offline

Posts: 1481305978

View Profile Personal Message (Offline)

Ignore
1481305978
Reply with quote  #2

1481305978
Report to moderator
1481305978
Hero Member
*
Offline Offline

Posts: 1481305978

View Profile Personal Message (Offline)

Ignore
1481305978
Reply with quote  #2

1481305978
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481305978
Hero Member
*
Offline Offline

Posts: 1481305978

View Profile Personal Message (Offline)

Ignore
1481305978
Reply with quote  #2

1481305978
Report to moderator
1481305978
Hero Member
*
Offline Offline

Posts: 1481305978

View Profile Personal Message (Offline)

Ignore
1481305978
Reply with quote  #2

1481305978
Report to moderator
1481305978
Hero Member
*
Offline Offline

Posts: 1481305978

View Profile Personal Message (Offline)

Ignore
1481305978
Reply with quote  #2

1481305978
Report to moderator
Chick
Member
**
Offline Offline

Activity: 70


View Profile
August 02, 2011, 09:18:14 PM
 #2

Hi,

Is there anyone who can give me step by step instructions on how to set up bitcoind.exe on an xp machine and spesifically how to use the bitcoin.conf file.

While https://en.bitcoin.it/wiki/Running_Bitcoin#Windows is helpful, I do not fully comprehend the information due to the language barrier.

When this is done, I would then like to access bitcoin using php running on either easyphp or Server2Go or xampp to verify send and received transaction and everything else that would be nice to know.

You are welcome to send me a pm.

Thank you,

Hamburger

Put bitcoind in a directory. Open up command prompt and navigate to the directory. Then type in 'bitcoind.exe -server'. Done.

Now you need to setup the bitcoin.conf to accept json api commands.

Code:
rpcuser=asdf
rpcpassword=asdf

#fill in this if connections aren't coming from localhost, this will make bitcoind listen to commands sent from that address
#rpcallowip=

I have no idea what easyphp or server2go is. They look like pre-configured lamp stacks to me. Now, download the json-rpc library and you can send a command to bitcoind like this:

Code:
<?php
require_once('the_library.php');
$bitcoin = new jsonRPCClient('http://asdf:asdf@127.0.0.1:8332');

//Same as bitcoind.exe getinfo
echo $bitcoin->getinfo();

hamburger
Full Member
***
Offline Offline

Activity: 131



View Profile
August 03, 2011, 08:11:32 AM
 #3

Hi,

Great, sometimes less info on a page mean a lot more!

The only thing I had to change was

Code:
print_r($bitcoin->getinfo());

instead of

Code:
echo $bitcoin->getinfo();

echo just returned a json array.

Thank you,

Hamburger
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!