Post
Topic
Board Mining (Altcoins)
Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
by
extera
on 08/02/2014, 13:30:53 UTC
I now have everything working with some help of a friend.
Why not share the fixes? (they might be quick and dirty, but hey, they work!)

phpminer_rpcclient not starting

add line to phpminer_rpcclient to remove phpminer_rpcclient.pid

add

Code:
       rm /tmp/phpminer_rpcclient.pid  

above the line
      
Code:
       screen -d -m -S phpminer_rpcclient su $USER -c "php -f $PROGRAM"
      
I couldn't add middlecoin pools, gave me the error 'difficulty'.
This might be the way to surpass the check of the pool is online to, so you can add offline pools.

      
      
edit:

Code:
/var/www/phpminer/controllers/pools.php

comment out the following:


Code:
/*
if ($result !== true) {
            AjaxModul::return_code(AjaxModul::ERROR_INVALID_PARAMETER, array(
                'url' => $params->url,
                'user' => $params->user,
                    ), true, $result);
}*/

Prdatur: sorry for abusing your program Tongue but i can't develop Tongue so used the dirty way  Cool