I am just installed PHP 4.0.6 and MySql 3.23.38 on a Windows 2000 machine running IIS 5.0.
This script runs just fine if I run it through IIS...
<? phpinfo(); ?>
but this script
<?
$db = mysql_connect("localhost", "root");
if($db)
echo("Success");
else
echo("Failure");
?>
will cause the error "Fatal error: Maximum execution time of 60 seconds exceeded in c:/src/comicreader/index.php on line 2" if I run it under IIS.
Now, the strange part, if I run this same script command line (eg.. c:\php\php.exe index.php > output.html) it works fine and I get a success message.
In IIS, I have .php type files executing c:\php\php.exe %s %s
Any ideas???