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

 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


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