How do I determine what version of Apache I'm using?

How do I determine what version of Apache, 1.3 or 2.0, I'm using?

iMac 17" Flat-panel, Mac OS X (10.4.9), 800MHz PowerPC G4 1GB SDRAM

Posted on Jul 2, 2007 1:52 AM

Reply
3 replies

Jul 2, 2007 6:15 AM in response to kyle/88

If you're using the stock Apache, it's 1.3 on regular OS X. I think it's Apache 2 on OS X Server, but I'm not certain.

If you're asking because you've installed Apache 2, but want to make sure it's the one that's running and not the stock Apache, one way to tell is to examine the headers it returns. This Terminal command will show your headers (just enter it and hit the "return" key):

<pre class="command">curl -I http://localhost</pre>
Here's what I get:

<pre class="command">HTTP/1.1 200 OK
Date: Mon, 02 Jul 2007 13:09:06 GMT
Server: Apache/1.3.33 (Darwin) PHP/5.2.0 mod_perl/1.29
Content-Type: text/html</pre>
As you can see, I have the stock Apache, but I've installed PHP5.

charlie

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I determine what version of Apache I'm using?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.