Re: HOSTNAME Environment variable

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

 



Kim Christensen wrote:

On 2/21/06, Ruben Rubio Rey <ruben@xxxxxxxxxxxx> 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@xxxxxxxxx

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

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