Re: [PHP-DEV] PHP linux binary and Super global variables

2002-05-29 Thread Alessandro Astarita
Stig S. Bakken wrote: > Are you sure that it is in fact the CGI binary you are using? The CLI > version of PHP will not register these variables. I have php 4.2.1 binary installed as CLI and $_SERVER is registered. [asterix@apenguin asterix]$ php -v 4.2.1 [asterix@apenguin asterix]$ php -r 'va

Re: [PHP-DEV] PHP linux binary and Super global variables

2002-05-21 Thread [EMAIL PROTECTED]
After a few hours of head bashing it was the simplest thing of all - the cgi was installed in /usr/local/bin/php and I was calling /usr/bin/php. This was the version that came with the linux installation Ori > On Tue, 2002-05-21 at 05:16, Ori Staub wrote: >> After compiling PHP 4.2.1 as a C

Re: [PHP-DEV] PHP linux binary and Super global variables

2002-05-20 Thread Stig S. Bakken
On Tue, 2002-05-21 at 05:16, Ori Staub wrote: > After compiling PHP 4.2.1 as a CGI binary and executing from the command > promot (php -q) I noticed that the new Super Global variables dont work > (in particular I need $_ENV and $_SERVER). > I looked through the manual to find some answers but did

[PHP-DEV] PHP linux binary and Super global variables

2002-05-20 Thread Ori Staub
After compiling PHP 4.2.1 as a CGI binary and executing from the command promot (php -q) I noticed that the new Super Global variables dont work (in particular I need $_ENV and $_SERVER). I looked through the manual to find some answers but didnt. Is this a feature or bug? Ori -- PHP Developme