%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:999999999
打開php.ini 修改配置文件,查找以下三個地方upload_max_filesize,memory_limit,post_max_size,將其值修改爲大於要導入的數據庫大小的值,重啓IIS,這樣就可以導入大於2M的數據庫文件了。
HTTP Error 500.0 - Internal Server ErrorE:\Program Files\java\php\php-cgi.exe - The FastCGI process exceeded configured request timeout
IIS7.5:Activity Timeout can be set from the IIS Manager (Under the server/IIS/FastCGI Settings/Edit)