Add php vhost separate logging; use stdlib for validation where possible.