Files
doc-fr/reference/apache/functions/apache-get-version.xml
Yannick Torres e9ab4db8a0 use more entities
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@171852 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 17:04:18 +00:00

74 lines
1.8 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- EN-Revision: 1.5 Maintainer: didou Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.apache-get-version">
<refnamediv>
<refname>apache_get_version</refname>
<refpurpose>
Retourne la version d'Apache
</refpurpose>
</refnamediv>
<refsect1>
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>apache_get_version</methodname>
<void/>
</methodsynopsis>
<para>
<function>apache_get_version</function> retourne une chaîne de caractères
représentant la version Apache, ou &false; en cas d'échec.
</para>
<example>
<title>Exemple avec <function>apache_get_version</function></title>
<programlisting role="php">
<![CDATA[
<?php
$version = apache_get_version();
echo "$version\n";
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Apache/1.3.29 (Unix) PHP/4.3.4
]]>
</screen>
</example>
<note>
<para>
Cette fonction n'est disponible que pour le <emphasis>gestionnaire</emphasis>
Apache 2.
Depuis &php; 4.3.4, la fonction est également disponible pour Apache 1 et
depuis &php; 5, elle est disponible pour les
<emphasis>filtres</emphasis> Apache 2.
</para>
</note>
<para>
Voir aussi <function>phpinfo</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->