I am trying to pull up the default miner.php from cgminer on linux using my ip-address/miner.php i assume.
Am i doing it right ? Missing something ? Anyone ?
You need a web server with PHP running on the box.
If you have a standard Linux setup, you can check if apache is installed by just pointing a web browser at the ip address
If it isn't you need to install Apache and PHP
If it does work, you can copy miner.php the /var/www/html
Then you can try IP-address/miner.php
If that doesn't work you need to install PHP
Once installed and once you have edited miner.php you should be good to go.
Thanks. I had to install them all and i am at the miner.php edit phase currently...
abit tricky there.. what should i look out for to change in it ?
Sorry doing this by memory, I do have my miner.php working but its a while since I set it up.
AFAIK you have to set cgminer to listen for the connection
I run my cgminer using cgminer.conf in the ./.cgminer directory off my home directory.
And I have these two lines enabled
"api-listen" : true,
"api-allow" : "W:127.0.0.1"
If you are not using a conf file you can enable the API from the command line with:
--api-listen --api-allow W:127.0.0.1
Then the only thing to double check is in miner.php make sure $rigs = arrray('172.0.0.1:4028') is set up and pointing to the same port as your cgminer is using. (4028 is the default)