apache_get_version Fetch Apache version Description stringapache_get_version apache_get_version returns the version of Apache as string, or &false; on failure. <function>apache_get_version</function> example ]]> The printout of the above program will look similar to: This function is available only in Apache 2 handler. As of PHP 4.3.4, it is available also in Apache 1 and as of PHP 5, it is available also in Apache 2 filter. See also phpinfo.