Web Hosting Talk







View Full Version : Seeking IIS6 & PHP expert [urgent]


cyang6568
08-13-2005, 04:01 AM
I have a site that runs uploading service, it's in php coded. I had it running on linux server and it works fine but i tried to move it to my windows server, then it cant accept any download bigger than 7, 8MB. It just shows the following error:

The specified CGI application misbehaved by not returning a complete set of HTTP headers.

It actually displays this message after it uploaded the whole thing, which turns out nothing has been uploaded. For smaller files, it works fine.

The server PHP is installed as CGI. Seeking anyone with high server experience to guide me to solve the problem.

activelobby4u
08-13-2005, 10:40 AM
seems like a server problem....i have seen this before

inHouse-Support
08-13-2005, 11:14 AM
Fast Net Support can do this for you. Please contact us through the contact form on our website at www.fastnetsupport.com.

cyang6568
08-13-2005, 12:06 PM
Hi all, I tried to reinstall php from cgi to isapi but now it's not getting up. If anyone willing to help, please message me. I want php to work and the site to get up urgently. Thanks.

ruiner
08-13-2005, 02:08 PM
Might want to check those real quick:
php.ini defaults:

post_max_size = 8M
upload_max_filesize = 2M

and obviously

max_execution_time = 30 ; Maximum execution time of each script, in seconds

uploading a 10 meg file may take a while..

kolbsoft
08-14-2005, 02:00 AM
ruiner has it right. Make sure to restart your web server after making the change.

Sparkysayz
08-14-2005, 02:22 AM
Hey,

Yeah the upload size in php.ini is in indeed an issue.

But as you said you PHP pages are not comming up, you may want to try the php reinstallation once more.
During the installation, in IIS, the web server Extensions make sure to give the .exe path rather than the .dll. The exe will reside in the bin folder .
In the properties for the web domain, the extensions should again be included with .php extension path pointed to the .exe

Restart the IIS services and the php will work out.

ruiner
08-14-2005, 11:41 AM
Eh, he stated the script worked with smaller files. So, ignore the psot above this one.