Hm, strange. I've been working from the command line for several days and today, after messing with these config files, is the first time these warnings have come up. And in the directory /usr/lib/php/modules/ every one of these files seems to exist (mysql.so, mysqli.so, etc). They are all owned by root - I assume that's not a problem though.
Furthermore I don't see any lines in the php.ini file that look like "extension=mysql.so". It doesn't even look like the php.ini file is looking in the right directory:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
But I tried setting the directory to "/usr/lib/php/modules" and that didn't seem to help. Do I need to restart httpd every time I make a change to php.ini or not? And could I be recieving these warnings because I'm not loading them in the php.ini file? .. guess I just don't understand what's going on.