Re: Windows ENV['_'] equivalent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, October 16, 2006 9:04 am, Jochem Maas wrote:
> 2. try making use of the $_ENV['PHP_PEAR_PHP_BIN'] value which should
> be
> configured if pear is installed properly. (it's there in my local
> setup

C:\Documents and Settings\rlynch>C:\php5.1.1\php.exe -a
Interactive mode enabled

<?php echo $_ENV['PHP_PEAR_PHP_BIN'], "\n\n";?>

Notice: Undefined index:  PHP_PEAR_PHP_BIN in C:\Documents and
Settings\rlynch\- on line 1



C:\Documents and Settings\rlynch>


rlynch@LTRLYNCH /cygdrive/k/pizzahut/tests
$ /cygdrive/c//php5.1.1/php.exe  -a
Interactive mode enabled

<?php echo $_ENV['PHP_PEAR_PHP_BIN'], "\n\n";?>

Notice: Undefined index:  PHP_PEAR_PHP_BIN in k:\pizzahut\tests\- on
line 1


^D

rlynch@LTRLYNCH /cygdrive/k/pizzahut/tests



Apparently, PEAR is not correctly installed when I snag php5.1.1 and
dump it into c:\php5.1.1 and run CLI.  Since I seldom use PEAR, I've
never noticed this before.

I'm fairly confident that var_dump($_ENV) did not output any key/value
that had anything useful to my needs -- I scoured that pretty
carefully, as it's where I expected my answer to be.  Ditto for
$_SERVER.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux