Hi all i need to run litecoind and bitcoind with php in localhost (sorry for my little english
)
Iam use this litecoin.conf
server=1
daemon=1
rpcuser=litecoinrpc
rpcpassword=8u1EEMnoeBRTZu3ZYbYtNWSEQPp7QUPSW5z
rpcport=8332
And this class
https://github.com/aceat64/EasyBitcoin-PHP/blob/master/easybitcoin.phpAnd in my index i have
require_once('easybitcoin.php');
$bitcoin = new Bitcoin('litecoinrpc','8u1EEMnoeBRTZu3ZYbYtNWSEQPp7QUPSW5z','localhost','8332');
$bitcoin->getinfo();
?>
But not work and in my cmd.exe its ok
c:\Program Files\Litecoin\daemon>litecoind getinfo
{
"version" : 80601,
"protocolversion" : 70002,
"walletversion" : 60000,
"balance" : 0.00000000,
"blocks" : 36119,
"timeoffset" : -1,
"connections" : 8,
"proxy" : "",
"difficulty" : 0.63768610,
"testnet" : false,
"keypoololdest" : 1388892634,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00001000,
"errors" : ""
}
Thanks for all