There is no age limit for Ph.D. applications. Most institutions would consider it discriminatory to judge on age. The real consideration is whether the prospective candidate has a reasonable chance of success.