Author

Topic: PHP stops working when it sends RPC command to wallet (Read 793 times)

sr. member
Activity: 376
Merit: 312
Can you say... nighty-night?
how does $settings['bitcoinrpc_login'] look like?

is it something like
Code:
http://user:password@host:port/
?

What error do you get?
full member
Activity: 154
Merit: 100
Code:
include './inc/jsonRPCClient.php';
$wallet=new jsonRPCClient($settings['bitcoinrpc_login']);
This is returning error:
Code:
echo $wallet->getbalance();
full member
Activity: 189
Merit: 103
When I call command to wallet cez RPC API (json), PHP stops working and stops sending data to client (apache2).

I can communicate with wallet cez SSH with no problem.

I don't know, it looks like is a problem in your code, maybe if you post some snipped it will be easier to identify the problem.
full member
Activity: 154
Merit: 100
When I call command to wallet cez RPC API (json), PHP stops working and stops sending data to client (apache2).

I can communicate with wallet cez SSH with no problem.
Jump to: