Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000101

[PHP-DEV] Re: [PHP-QA] 4.0.3RC1 reports on *BSD, Alpha and ia64: ok overall From: Andi Gutmans (andi <email protected>)
Date: 10/03/00

Can you try and edit cgi_main.c line 315 and change:
SG(request_info).request_uri = getenv("PATH_INFO");
to:
SG(request_info).request_uri = getenv("PATH_INFO");
if (!SG(request_info).request_uri || !SG(request_info).request_uri[0]) {
         SG(request_info).request_uri = getenv("SCRIPT_FILENAME");
}

I don't know if this is supposed to fix it but it might.

Andi

Can someone tell me what the difference bet
At 11:25 AM 10/3/00 +0200, Olivier Cahagne wrote:
>Andi Gutmans wrote:
>
>>At 02:05 AM 10/3/00 +0200, Olivier Cahagne wrote:
>>
>>>Here're reports with 4.0.3RC1 (from php.net/~andi) on various platforms:
>>>there seems to be non showstopper bugs for me with the default setup.
>>>The only problem would be build broken on Digital Unix when enabling
>>>sockets.
>>>[snip]
>>>A little problem though: there're still wrong path with
>>>--enable-discard-mode and phpinfo() images, see:
>>>http://www.epita.fr:8000/~cahagn_o/php/info.php
>>>see bugs: #4081 #6115
>>
>>Do you have any idea what's wrong?
>
>The image path iw wrong:
>
><img src="?=PHPE9568F34-D428-11d2-A769-00AA001ACF42"
>
>it should be:
>
><img src="/path/to/file.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42"
>
>There were talks about that but it never got fixed as it was not seen as a
>critical bug:
>
>http://bugs.php.net/?id=4081 (last update talks about the CGI SAPI).
>
>>I don't know the exact behavior of all of these URI and SCRIPT_NAME
>>things and someone needs to help out here to get it fixed.
>>I remember that after I fixed a problem with discard_path over a couple
>>of months ago ppl were happy and said it started working again after
>>months of not working.
>
>Well, I was the person that requested this feature. :)
>It's been working well for 2 years with PHP 3, then PHP 4, with hundreds
>of users, so the phpinfo() bug "seems" to be local as every other script
>works (phpMyAdmin works for example).
>
>
>
>
>--
>Olivier.Cahagne <email protected>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>