... as per API-README - you say in cgminer what IP addresses are allowed to access cgminer.
Then in miner.php you say the IP:port:randomshortname of the cgminer
Yeah, I forgot to mention that I did that. I set the allowed addresses in the config file, and as you saw below that statement, I added it to miner.php.
... as per the README FAQ ... it means sockets are either disabled on not installed in your PHP
There is a link in the FAQ.
That's the part I can't figure out.
Q: I run PHP on windows to access the API with the example miner.php. Why does
it fail when php is installed properly but I only get errors about Sockets not
working in the logs?
A: http://us.php.net/manual/en/sockets.installation.php
I am not running PHP on windows. I have bluehost, and they use apache. Visiting that link doesn't help me. I don't know what this means, or how to do it:
The socket functions described here are part of an extension to PHP which must be enabled at compile time by giving the --enable-sockets option to configure.
There's a user note on that page that says you need to uncomment the line that reads
;extension=php_sockets.dll (by removing the semi colon), or if it's not there, to add it. I don't know where to add it, so I added it to the end. Still having same error.
So, AS PER THE README FAQ, I am
not running php on windows to access the API, so I didn't think it applied.
This is not a priority because I only want to monitor one rig, and I can use CMD.exe to run API calls. (it's just that it doesn't like when I use the pipe, for some reason)
Thanks for your help. Anyone got it working on bluehost? LMK.
I will continue to interface with the google for now.