FANDOM


Description Edit

apache_get_version returns the apache version on success.

Parameters Edit

{{{returns}}} apache get version (void)

Parameter Infos Edit

Parameter PHP Version Type
apache_get_version 4 >= 4.3.2 or 5 returns string


Examples Edit

Example 1: Edit

<?php
 echo apache_get_version();
?>

Output Edit

// Could be similar to this on Windows
Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.0

// Another Example output
Apache/1.3.29 (Unix) PHP/4.3.4


See also Edit

phpinfo

For more details on this function, visit its entry in the php manual.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.