# username and password for api
rpcuser=user
rpcpassword=password
rpcallowip=127.0.0.1
rpcport=8332
# Don't generate coins
gen=0
# enable json api
server=1
# Pre-gen wallet keys
keypool=100
# set max number of connections
maxconnections=100
#testnet
testnet=1
my connection string in php is
new jsonRPCClient("http://user:[email protected]:8332/");
Thanks for any help I have been banging my head against the wall for a while now
![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif)
EDIT: Sorry guys I figured it out. I tried to delete the post but it would not let me.
For anyone who comes across this issue in the future if you are getting a 500 error check your code for any hard-coded tests you had left around.
I was checking the balance of a known address in my non testcoin wallet which was causing this to happen.