With PHP3, you still needed to load the MySQL extension. As of PHP4, the MySQL functions are compiled natively into the PHP core. To add MySQL support:
1) Make sure your extension_dir (in php3.ini) is pointing to the folder which contains the php_*.dll files. For example:
extension_dir = "c:/php/extensions/"
A trailing slash must exist on the path and if you're on Win32 use the Unix-style forward slash instead of the Win32 back slash.
2) Add or uncomment (remove the semi-colon) the following line to php3.ini:
extension=php_mysql.dll
3) Restart your webserver.
Calling phpinfo() should now reveal the presence of MySQL support. Of course you could always just upgrade to PHP4. Much faster and you'll have more options available to you. PHP3 is not longer being supported or developed. HTH.
Geoff A. Virgo