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

Reply via email to