Using apache and php-apache mod to get around. The only thing that worked for me was setting the time limit to -1 , memory limit to 3gb. It still does on the interface but keeps going in the background and I can see the count of users go up in the db.