|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-02 14:43 UTC] k.schroeder@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 18:00:01 2025 UTC |
PHP works fine under IIS...I can run the phpinfo(); function just fine. MySQL works fine. I can go into MySQLAdmin and add tables, etc... When I try and run the script <? $db = mysql_connect("localhost", "root"); if($db) echo("Success"); else echo("Failure"); ?> through IIS, it fails with a timeout error message. However, if I run this same script through the command line (eg. php.exe index.php) it returns Success in a fraction of a second. I have given USR_compname full rights to c:\mysql, c:\php, c:\src (which is where the .php is located) and c:\winnt\system32. IIS has a virtual directory called ComicReader that points to c:\src\comicreader. .php files map to c:\php\php.exe %s %s and Script Engine is checked. I am running php cgi v4.0.6 from the php-4.0.6-Win32.zip.