PHP HOSTNAME environment variable poltergeist

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

 



Im having again a problem with hostname environment varible.

Hostname is set OK and it is now shown in phpinfo().
But if I run "php -i" hostname is set!

Any ideas?
Php version: 5.1.2
Configure './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gettext' '--with-pgsql' '--enable-track-vars' '--enable-force-cgi-redirect' '--with-mime-magic'

Thanks in advance, Im completely lost.
Any ideas will be appreciated.

Note 1: I have another server (shold be exactly the same in configuracion, at least in apache and php _IS_ exactly the same) and hostname variable is shown in phpinfo.

Note 2:  hostname command and echo $HOSTNAME shows correctly hosname.

Note 3:  Php bug?

--
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