Attention : vous consultez actuellement la documentation dédiée aux versions 1.x de Moodle. La documentation pour les versions 2.x de Moodle est consultable ici : phpinfo, celle pour les versions 3.x de Moodle est consultable ici : phpinfo et celle pour Moodle 4.x est consultable là : phpinfo.

« phpinfo » : différence entre les versions

De MoodleDocs
Aller à :navigation, rechercher
(en français)
(Lien anglais)
 
(4 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
{{Mettre à jour}}
Extrait de la page produite par un fichier phpinfo.php contenant la ligne
Extrait de la page produite par un fichier phpinfo.php contenant la ligne


  <?phpinfo()?>
  <?php phpinfo(); ?>


<table border="0" cellpadding="3" width="600">
<table border="0" cellpadding="3" width="600">
<tr class="h"><td>
<tr class="h"><td>
'''PHP Version 4.3.3'''
'''PHP Version 5.1.2'''
</td></tr>
</td></tr>
</table><br/>
</table><br/>
<table border="0" cellpadding="3" width="600">
<table border="0" cellpadding="3" width="600">
<tr><td class="e">System </td><td class="v">Windows NT MYLAPTOP0106 5.1 build 2600 </td></tr>
<tr><td class="e" width="230">System </td><td class="v">Darwin mhep35169m.local 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh </td></tr>
<tr><td class="e">Build Date </td><td class="v">Aug 24 2003 22:01:16 </td></tr>
 
<tr><td class="e">Server API </td><td class="v">Apache </td></tr>
<tr><td class="e">Build Date </td><td class="v">Jan 17 2006 14:51:27 </td></tr>
<tr><td class="e">Virtual Directory Support </td><td class="v">enabled </td></tr>
<tr><td class="e">Configure Command </td><td class="v"> &#039;./configure&#039; &#039;--with-mysql=/Applications/MAMP/bin/mysql4&#039; &#039;--with-apxs2=/Applications/MAMP/Library/bin/apxs&#039; &#039;--with-gd&#039; &#039;--with-jpeg-dir=/Applications/MAMP/Library&#039; &#039;--with-png-dir=/Applications/MAMP/Library&#039; &#039;--with-zlib&#039; &#039;--with-freetype-dir=/Applications/MAMP/Library&#039; &#039;--prefix=/Applications/MAMP/bin/php5&#039; &#039;--exec-prefix=/Applications/MAMP/bin/php5&#039; &#039;--sysconfdir=/Applications/MAMP/conf/php5&#039; &#039;--with-soap&#039; &#039;--with-config-file-path=/Applications/MAMP/conf/php5&#039; &#039;--enable-track-vars&#039; &#039;--enable-bcmath&#039; &#039;--enable-ftp&#039; &#039;--enable-gd-native-ttf&#039; &#039;--with-bz2=/usr&#039; &#039;--with-ldap&#039; &#039;--with-mysqli=/Applications/MAMP/bin/mysql4/bin/mysql_config&#039; &#039;--with-sqlite&#039; &#039;--with-ttf&#039; &#039;--with-t1lib=/Applications/MAMP/Library&#039; &#039;--enable-mbstring=all&#039; &#039;--with-curl=/Applications/MAMP/Library&#039; &#039;--enable-dbx&#039; &#039;--enable-sockets&#039; &#039;--enable-bcmath&#039; &#039;--with-imap=shared,/Applications/MAMP/Library&#039; &#039;--enable-soap&#039; &#039;--with-kerberos&#039; &#039;--enable-calendar&#039; &#039;--with-pgsql=shared,/Applications/MAMP/Library/pg&#039; &#039;--enable-dbase&#039; &#039;--enable-exif&#039; &#039;--with-libxml-dir=/Applications/MAMP/Library&#039; &#039;--with-xsl=/Applications/MAMP/Library&#039; &#039;--with-pdo-mysql=shared,/Applications/MAMP/bin/mysql4&#039; &#039;--with-pdo-pgsql=shared,/Applications/MAMP/Library/pg&#039; </td></tr>
<tr><td class="e">Configuration File (php.ini) Path </td><td class="v">C:\WINDOWS\php.ini </td></tr>
 
<tr><td class="e">PHP API </td><td>20020918 </td></tr>
<tr><td class="e">Server API </td><td class="v">Apache 2.0 Handler </td></tr>
<tr><td class="e">PHP Extension </td><td>20020429 </td></tr>
<tr><td class="e">Virtual Directory Support </td><td class="v">disabled </td></tr>
<tr><td class="e">Zend Extension </td><td>20021010 </td></tr>
<tr><td class="e">Configuration File (php.ini) Path </td><td class="v">/Applications/MAMP/conf/php5/php.ini </td></tr>
<tr><td class="e">Debug Build </td><td>no </td></tr>
<tr><td class="e">PHP API </td><td class="v">20041225 </td></tr>
<tr><td class="e">Thread Safety </td><td>enabled </td></tr>
<tr><td class="e">PHP Extension </td><td class="v">20050922 </td></tr>
<tr><td class="e">Registered PHP Streams </td><td>php, http, ftp, compress.zlib</td></tr>
<tr><td class="e">Zend Extension </td><td class="v">220051025 </td></tr>
 
<tr><td class="e">Debug Build </td><td class="v">no </td></tr>
<tr><td class="e">Thread Safety </td><td class="v">disabled </td></tr>
<tr><td class="e">Zend Memory Manager </td><td class="v">enabled </td></tr>
<tr><td class="e">IPv6 Support </td><td class="v">enabled </td></tr>
<tr><td class="e">Registered PHP Streams </td><td class="v">php, file, http, ftp, compress.bzip2, compress.zlib  </td></tr>
<tr><td class="e">Registered Stream Socket Transports </td><td class="v">tcp, udp, unix, udg </td></tr>
 
<tr><td class="e">Registered Stream Filters </td><td class="v">string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, convert.iconv.*, bzip2.*, zlib.* </td></tr>
</table>
</table>
...
...
Et cela continue comme cela sur environ 5 pages.
Et cela continue comme cela sur environ 5 pages.
[[Catégorie:Administrateur]]
[[en:phpinfo]]
[[es:phpinfo]]
[[pt:phpinfo]]

Dernière version du 5 juin 2008 à 13:21

Cet article a besoin d'une mise à jour. Veuillez SVP le mettre à jour et retirer cette notice une fois la mise à jour effectuée. Si le bloc "Autres langues" (voir pied de page), comprend un lien "English", vous pouvez vous inspirer du contenu anglais.



Extrait de la page produite par un fichier phpinfo.php contenant la ligne

<?php phpinfo(); ?>

PHP Version 5.1.2


System Darwin mhep35169m.local 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh
Build Date Jan 17 2006 14:51:27
Configure Command './configure' '--with-mysql=/Applications/MAMP/bin/mysql4' '--with-apxs2=/Applications/MAMP/Library/bin/apxs' '--with-gd' '--with-jpeg-dir=/Applications/MAMP/Library' '--with-png-dir=/Applications/MAMP/Library' '--with-zlib' '--with-freetype-dir=/Applications/MAMP/Library' '--prefix=/Applications/MAMP/bin/php5' '--exec-prefix=/Applications/MAMP/bin/php5' '--sysconfdir=/Applications/MAMP/conf/php5' '--with-soap' '--with-config-file-path=/Applications/MAMP/conf/php5' '--enable-track-vars' '--enable-bcmath' '--enable-ftp' '--enable-gd-native-ttf' '--with-bz2=/usr' '--with-ldap' '--with-mysqli=/Applications/MAMP/bin/mysql4/bin/mysql_config' '--with-sqlite' '--with-ttf' '--with-t1lib=/Applications/MAMP/Library' '--enable-mbstring=all' '--with-curl=/Applications/MAMP/Library' '--enable-dbx' '--enable-sockets' '--enable-bcmath' '--with-imap=shared,/Applications/MAMP/Library' '--enable-soap' '--with-kerberos' '--enable-calendar' '--with-pgsql=shared,/Applications/MAMP/Library/pg' '--enable-dbase' '--enable-exif' '--with-libxml-dir=/Applications/MAMP/Library' '--with-xsl=/Applications/MAMP/Library' '--with-pdo-mysql=shared,/Applications/MAMP/bin/mysql4' '--with-pdo-pgsql=shared,/Applications/MAMP/Library/pg'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /Applications/MAMP/conf/php5/php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.bzip2, compress.zlib
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, convert.iconv.*, bzip2.*, zlib.*

... Et cela continue comme cela sur environ 5 pages.