Thomas,
Nothing happens when I start from a dos shell.
It just hangs.
It is indeed the extension, and I believe it is caused by MySQL not being install on the same machine that PHP is installed on.
The extension libs (both PHP_MySQL.dll & PHP_MySQLi.DLL) are in the PHP root directory (/PHP or ./) and the EXT (/php/ext) directory as it was set-up by the PHP installer (.msi).
All LIB*.DLL files are both in the system32 and the PHP root directory.
I tried running another script that had no MySQL in it nor phpinfo() and it still hangs showing that it can't open the extension. Regular html still works. (*.html files)
James