> However, when I try to run the following simple script to connect to > MySQL on localhost, I get the baffling error: 'undefined function'. I > thought that MySQL connections were standard baked in PHP4. Unless specifically compiled to not have MySQL support, it is standard. Check phpinfo() and see if the configure line has --without-mysql in it. It probably does. You have 2 options, recompile PHP (no need to recompile Apache since PHP is a DSO (dynamic shared object) loaded into Apache when it starts). Or second, build just the MySQL extension using: --with-mysql=shared and load that into your PHP script at startup by doing dl('mysql.so'); in your script or add extension=mysql.so to your php.ini file. -Rasmus -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]