Re: Distinguishing Red Hat 7.0
| From: | Yasuo Ohgaki | Date: | Thu, 26 Apr 2001 05:52:37 +0000 |
| Subject: | Re: Distinguishing Red Hat 7.0 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2888@lists.php.net to get a copy of this message | ||
Read following file from you PHP script
/etc/redhat-release
It should there and have version in it. (Unless user delete it)
Regards,
--
Yasuo Ohgaki
"Jonathan Hilgeman" <JHilgeman@ecx.com> wrote in message
news:5D90F61EB6FDD411836500508B137F1A268846@mailsvr.ecx.com...
> Is there any way for PHP to distinguish if it is being run on Red Hat 7.0 or
> not? I know there's a variable called $SERVER_SOFTWARE but that only gives
> me "Red Hat Linux" - Are there any other distinguishing characteristics
> about the 7.0 version?
>
> Jonathan
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>