require legacy php kernel.