add php/exception and sql.php