Re: CGI implementation, file opening
| From: | Zeev Suraski | Date: | Sat, 10 Jun 2000 18:02:50 +0000 |
| Subject: | Re: CGI implementation, file opening | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20955@lists.php.net to get a copy of this message | ||
Ok, I guess our implementation does have some mess on its own though, like
the doc_root issue...
On Sat, 10 Jun 2000, Rasmus Lerdorf wrote:
> On Sat, 10 Jun 2000, Zeev Suraski wrote:
> > I tend to agree with bug report #3044 that our methods of finding the file
> > to open are a bit of a mess. I'm not too familiar with this subject. Are
> > there any volunteers that are familiar with this issue, that would be
> > willing to go over this code and fix it? Or at least look into it? :)
>
> The mess is not just ours. The problem is that every web server has a
> different set of variables and a different way they are set. There is not
> one correct portable way of doing this. If you clean it up and simplify
> it for one server, it will break on all other servers.
>
> To fix this, someone has to install all the major web servers and
> systematically go through and analyze each one. It also changed between
> versions of IIS, for example.
>
> -Rasmus
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/