Re: [PHP] path_info in fastcgi setting

2008-03-10 Thread Daniel Brown
On Sun, Mar 9, 2008 at 7:54 AM, Ian M. Evans [EMAIL PROTECTED] wrote:
  Under Apache and the PHP module:
  a) test.php path_info is blank
  b) test.php/ppp path_info=/ppp

  Under PHP FastCGI:
  c) test.php path_info is test.php
  d) test.php/ppp path_info=/ppp

  Not sure why it's not blank in 'c' and instead equals the filename.

Are both tests being done through Nginx?

There are several differences you'll come across over time when
using PHP compiled different ways.  That may just another one of them.
 Because I actually think that it's Nginx' response to PHP when
querying the environment, meaning more of an issue with Nginx than
PHP.

Just a guess, though.  I've never used that HTTP server before, so
I'll defer to someone else with experience with Nginx.

-- 
/Dan

Daniel P. Brown
Senior Unix Geek
? while(1) { $me = $mind--; sleep(86400); } ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] path_info in fastcgi setting

2008-03-09 Thread Ian M. Evans

Greetings all.

Making the transition to PHP 5.2.5 operating as FastCGI through Nginx.

Seem to be having a bit o' weirdness with path_info.

Under Apache and the PHP module:
a) test.php path_info is blank
b) test.php/ppp path_info=/ppp

Under PHP FastCGI:
c) test.php path_info is test.php
d) test.php/ppp path_info=/ppp

Not sure why it's not blank in 'c' and instead equals the filename.

I need coffee. :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php