You need to UPSHIFT() the columns also to make your search insensitive. What you are doing is just comparing what is in the column against an uppercased value.
$keywordQuery=ifx_query("select * from webSearch where UPSHIFT(keyword) LIKE UPSHIFT('%$query%') or UPSHIFT(desc) LIKE UPSHIFT('%$query%')", $dbConnection);