The answer, for me, was indeed found in these comments. I’m using PHP 5.1.4 on Windows XP under Apache 2.0.55.
I added PHP to my path and rebooted. I uncommented out the extension=php_mysql.dll entry and changed the extension_dir. Based on sainib’s comments, I started digging through PHP documentation and finally found this link to describe where to put the php.ini file:
http://www.php.net/manual/en/configuration.php#configuration.file
So, when I added the described PHPIniDir directive, everything worked. Whew…