APACHE_GET_VERSION(3) 1 APACHE_GET_VERSION(3)
apache_get_version - Fetch Apache version
SYNOPSIS
string apache_get_version (void )
DESCRIPTION
Fetch the Apache version.
RETURN VALUES
Returns the Apache version on success or FALSE on failure.
EXAMPLES
Example #1
apache_get_version(3) example
<?php
$version = apache_get_version();
echo "$version
";
?>
The above example will output something similar to:
Apache/1.3.29 (Unix) PHP/4.3.4
SEE ALSO
phpinfo(3).
PHP Documentation Group APACHE_GET_VERSION(3)