Limit php memory use