Re: 4.0.3RC1 reports on *BSD, Alpha and ia64: ok overall
| From: | Andi Gutmans | Date: | Tue, 03 Oct 2000 09:47:21 +0000 |
| Subject: | Re: 4.0.3RC1 reports on *BSD, Alpha and ia64: ok overall | ||
| References: | 1 2 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-34143@lists.php.net to get a copy of this message | ||
I think SCRIPT_FILENAME should be SCRIPT_NAME.
Andi
At 12:37 PM 10/3/00 +0300, Andi Gutmans wrote:
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]) {--- Andi Gutmans <andi@zend.com> http://www.zend.com/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:--- Andi Gutmans <andi@zend.com> http://www.zend.com/ -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net For additional commands, e-mail: php-qa-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netAt 02:05 AM 10/3/00 +0200, Olivier Cahagne wrote: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).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 #6115Do you have any idea what's wrong?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@epita.fr