pre finish server part and phpcf