Re: $PHP_SELF not set !

From: Date: Mon, 26 Nov 2001 23:04:16 +0000
Subject: Re: $PHP_SELF not set !
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-4064@lists.php.net to get a copy of this message
Right then, When I get PHP 4.0.6 to run "phpinfo();" I get the following results. From IIS, I've gone into Properties / Home Directory / Configuration and I've added c:\php4\php.exe to the dialog. I then run a php script with phpinfo() inside (I assume this is ISAPI but I'm not too fluent with Windows installs just yet, but I'm getting there) and get the following results. http://www.milonic.co.uk/phpinfo_from_iis.htm $PHP_SELF is clearly defined inside the above page. However when I do "c:\php4\php.exe phpinfo.php" ( I assume this is the CGI approach ) I get a *space* where $PHP_SELF should be. Also, the only place that phpinfo.php can be seen on this page is in HTTP_SERVER_VARS["argv"] not sure if this is correct or not but you can see the results at http://www.milonic.co.uk/phpinfo_from_php_exe.htm I hope i'm not being too confising here but both examples where done using PHP 4.0.6 so i can only assume that the problem has been around for some time thus allowing you, in my humble opinion, to release 4.1.0 but who am I to say :-)) Anyway I hope this clear things up a bit. Regards Andy. ----- Original Message ----- From: "Zeev Suraski" <zeev@zend.com> To: "James Moore" <jmoore@php.net> Cc: <php-qa@lists.php.net> Sent: Monday, November 26, 2001 10:30 PM Subject: Re: [PHP-QA] $PHP_SELF not set ! > Do we have a clear understanding of whether this issue, for whatever it is, > exited in 4.0.6 or not? > > If it's not new, I want to announce 4.1.0 as planned. If it is new, we'll > have to postpone and figure out what happened. > > Zeev > > At 19:19 26/11/2001, James Moore wrote: > >Line 178 of main.c is where the problem is visable. > > > >SG(request_info).request_uri isnt set and thus PHP_SELF is not set. Tracing > >back to why request_uri isnt set. > > > >- James > > > > > >-- > >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.net > > > -- > 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.net > >

« previous php.qa (#4064) next »