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
rm /tmp/phpminer_rpcclient.pid
above the line
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:
/var/www/phpminer/controllers/pools.php
comment out the following:
/*
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

but i can't develop

so used the dirty way
