Get Apache Version


/ Published in: PHP
Save to your folder(s)

Return just the Apache version number of your server, and operating system, from $_SERVER['SERVER_SOFTWARE']

Example:

print ('Apache Version: ' . apacheversion());

will return something along the lines of...

"Apache Version: 2.2.10 (Unix)"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.