C5 on IIS

Permalink
I tried installing concrete5 on an IIS server, but receive the "Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server." error.

I've read about the problem in the forums and came acrosshttp://www.concrete5.org/documentation/installation/hosts/windows_s... and was wondering if point 9 is the solution to the problem.

I don't control the server setup, so I want to be able to provide a specific solution when I go asking about getting it changed.

 
marius replied on at Permalink Reply
marius
I have my test installation on a IIS 7.5. It works perfect.

I must add following to my /index.php

$_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'];


Is that your problem? Or which IIS version you have?
admin replied on at Permalink Reply
I just tried your suggestion and th eproblem is still there.

It looks like it is an IIS 6 sysytem.

Here is the phpinfo output.

<<link deleted>>
marius replied on at Permalink Reply
marius
sorry for the late answer. I'm on a worldtrip ;)

Hm your link to the phpinfo() doesn't work.

You can try this also:

Set in the php.ini:

cgi.fix_pathinfo=1
admin replied on at Permalink Reply
Sorry, I've changed that test site to something else now.

I've tried this suggestion on another domain now and am now getting a CGI error "The specified CGI application misbehaved by not returning a complete set of HTTP headers." This is with PHP 5.2.1.

I'm able to select what version of PHP I'm using, so I changed it to PHP 5.1.2, and I now get through the tests, although with a warning that recommends using PHP 5.2.

Any suggestions on why the CGI error is occuring for the later PHP version?
marius replied on at Permalink Reply
marius
I think the problem is in the php.ini for your php version 5.2 or the permissions.

check your php.ini and set this two settings:

cgi.fix_pathinfo = 1
cgi.force_redirect = 0

maybe you have also set doc_root = "C:\Inetpub\wwwroot\" ? remark it to
;doc_root = "C:\Inetpub\wwwroot\"

Are the read/write permissions correct for the website folder, the php directory and the php extensions? Use the readme in the php installation zip to check it.