var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
CGI Error when running PHP on IIS 6.0
I am running a Windows Server 2003 server with IIS 6.0 and PHP 4.3.4
I am trying to run a script, but everytime I run it I get the following error (Script is PHP):
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
This happens when I use the header("Location:... funtion.
I read a bug about it, but I haven't found anything on how to fix it. All the other PHP things work fine (I have phpMyAdmin, Invision Board and a few other programs running without error).
Anyone know how to fix this?
in the IIS Manager --> Web Service Extension --> is PHP listed there?
if not, this could be the problem (but i m not totally sure)
read that thread if php is not listed there
otherwise, i don't think i can help
Reinstalled PHP as ISAPI. I did it how I would usually do it. Then read the instructions in that thread (Same thing that I did) and now I just get 500 Error when I try to login to my script (Custom Script)
UPDATE: I am now getting this error
PHP has encountered an Access Violation at 77BD3EC2
I feel like Im blogging this out
Anyway, another update. I've managed to find that it has a problem with mcrypt on the server.
Mcrypt is enabled by looking at phpinfo()...I don't see what the problem is.
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
This may be due to the mislocation of dll libraries. The
dll files included in the binary distribution (in the lib directory)
need to be placed in your system path C:\Winnt\system32.
Fixed the problem
Just updated PHP to the latest SNAP.