Re: HOSTNAME Environment variable
| From: | Ruben Rubio Rey | Date: | Tue, 21 Feb 2006 08:54:12 +0000 |
| Subject: | Re: HOSTNAME Environment variable | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230791@lists.php.net to get a copy of this message | ||
Kim Christensen wrote:
On 2/21/06, Ruben Rubio Rey <ruben@rentalia.com> wrote:How to set "Hostname" environment variable? (It contains the servers name, not the servers domain) Its a Linux server.Try the "hostname" command. Depending on your linux distro, you might want to edit /etc/hostname manually afterwards to double-check. -- Kim Christensen kim.christensen@gmail.com Strange. Its already set (in hostname and "echo $HOSTNAME"). I have realized that is working on version (in my servers) 5.0.5 and its not working in 5.0.4 version. Is it an old bug? Im updating, we ll see ....