Even if you passed the
--with-mysqli=shared
to the ./configure script at PHP installation (cf. 2.1.2 ,) you should have following line in your php.ini file:
extension=mysqli