PHP HOSTNAME environment variable poltergeist
| From: | Ruben Rubio Rey | Date: | Wed, 15 Mar 2006 12:29:57 +0000 |
| Subject: | PHP HOSTNAME environment variable poltergeist | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231932@lists.php.net to get a copy of this message | ||
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?