Fixbug: server_shutdown register to php.