user131847: I am new to this bitcoin world, I have installed bitcoin core on my centos server.
Bitcoin daemon is running fine. And commands like getinfo works fine on bitcoin-core.cli. But the same command getinfo does not work with easybitcoin.
My bitcoin.conf file looks like:
prune=4096
txindex=0
rpcuser=user
rpcpassword=password
rpcport=8332
server=1

Inshort, commands are working with cli but not with easybitcoin. Please help.

user5406: If I had to venture a guess, I would say it's because EasyBitcoin-PHP hasn't been updated since June 2017, and the author actually states in the "About":

A simple class for making calls to Bitcoin's API using PHP. This is an old library, I suggest instead using https://github.com/denpamusic/php-bitcoinrpc


131847: <p>I am new to this bitcoin world, I have installed bitcoin core on my centos server.
Bitcoin daemon is running fine. And commands like getinfo works fine on bitcoin-core.cli. But the same command getinfo does not work with easybitcoin.
My bitcoin.conf file looks like:</p>
<p>prune=4096
txindex=0
rpcuser=user
rpcpassword=password
rpcport=8332
server=1</p>
<p><a href="https://i.stack.imgur.com/GxII8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GxII8.png" alt="enter image description here" /></a></p>
<p>Inshort, commands are working with cli but not with easybitcoin. Please help.</p>
 5406: <p>If I had to venture a guess, I would say it's because <a href="https://github.com/aceat64/EasyBitcoin-PHP" rel="nofollow noreferrer">EasyBitcoin-PHP</a> hasn't been updated since June 2017, and the author actually states in the &quot;About&quot;:</p>
<blockquote>
<p>A simple class for making calls to Bitcoin's API using PHP. This is an old library, I suggest instead using <a href="https://github.com/denpamusic/php-bitcoinrpc" rel="nofollow noreferrer">https://github.com/denpamusic/php-bitcoinrpc</a></p>
</blockquote>
