Am I on a Linux or Windows Server ?

Where may I host my php/mysql web site ?

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Tue May 17, 2011 12:26 pm

Am I on a Linux or Windows Server ?

Postby pete1972 » Tue May 17, 2011 12:34 pm

Hi All,

Is there are easy way to tell if a site is hosted on a particular server?

Sorry if this is a dumb question, but I am still very much a "young at heart" novice

I always thought that Apache was purely window's based, but after a bit of "Googling" I discovered that it can also run on Linux.

Some one told me that there was a PHP command i.e. Echo something-or-other that displayed all the config information, but for the life of me I can't find out what it is :-(

Can anyone help?

Many thanks,


php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Am I on a Linux or Windows Server ?

Postby johnj » Tue May 17, 2011 8:26 pm

Using a browser:

Code: Select all

echo "</pre>";

Without a browser:

Code: Select all


Return to “Hosting - Shared and Dedicated server Solutions”

Who is online

Users browsing this forum: No registered users and 1 guest