Va afficher ceci coucou "bar",¶ "bar" => "foo",¶ );¶ echo "coco le haricot";¶ foreach ($monTest as $key => $value){¶ echo "$key=>$value n";¶ }¶
Je dois avouer que j'en perd mon latin. Et, pour l'instant mes recherches sur internet ne mon rien donné. ;-(
Je vous remercie d'avance de vous pencher sur mon problème et de m'indiquer éventuellement une piste à suivre.
nicolas.pechon
Le 2015-11-09 11:50, Fabrice Regnier a écrit :
'lut,
déjà,
que donne tes commandes dpkg -al | grep apache et
# dpkg -al | grep apache ii apache2 2.4.16-3 amd64 Apache HTTP Server ii apache2-bin 2.4.16-3 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.16-3 all Apache HTTP Server (common files) ii apache2-utils 2.4.16-3 amd64 Apache HTTP Server (utility programs for web servers) rc apache2.2-bin 2.4.10-10 amd64 Transitional package for apache2-bin ii libapache2-mod-dnssd 0.6-3.1 amd64 Zeroconf support for Apache 2 via avahi ii libapache2-mod-php5 5.6.14+dfsg-1+b1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
dpkg -al | grep php ?
# dpkg -al | grep php ii libapache2-mod-php5 5.6.14+dfsg-1+b1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php-auth 1.6.4-1 all Creating an authentication system ii php-auth-sasl 1.0.6-2 all Abstraction of various SASL mechanism responses ii php-crypt-chap 1.5.0-1 all Generating CHAP packets ii php-db 1.7.14-3 all PHP PEAR Database Abstraction Layer ii php-gettext 1.0.11-1 all read gettext MO files directly, without requiring anything other than PHP ii php-http-request 1.4.4-4 all PEAR class to provide an easy way to perform HTTP requests ii php-log 1.12.9-1 all Logging Framework ii php-mail 1.2.0-7 all Class that provides multiple interfaces for sending emails ii php-mail-mime 1.8.9-1 all PHP PEAR module for creating MIME messages ii php-mail-mimedecode 1.5.5-3 all Provides a class to decode mime messages ii php-mdb2 2.5.0b5-1 all merge of the PEAR DB and Metabase php database abstraction layers ii php-net-dime 1.0.2-2 all class that implements DIME encoding ii php-net-ldap2 2.1.0-2 all Object oriented interface for searching and manipulating LDAP-entries ii php-net-ldap3 1.0.3-1 all Object oriented interface for searching and manipulating LDAP entries ii php-net-sieve 1.3.4-2 all Handles talking to a sieve server ii php-net-smtp 1.6.2-2 all PHP PEAR module implementing SMTP protocol ii php-net-socket 1.0.14-1 all PHP PEAR Network Socket Interface module ii php-net-url 1.0.15-3 all easy parsing of Urls ii php-pear 5.6.14+dfsg-1 all PEAR - PHP Extension and Application Repository ii php-seclib 1.0.0-2 all implementations of an arbitrary-precision integer arithmetic library ii php-soap 0.13.0-1 all SOAP Client/Server class for PHP ii php-tcpdf 6.0.093+dfsg-1 all PHP class for generating PDF files on-the-fly ii php5 5.6.14+dfsg-1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.6.14+dfsg-1+b1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.14+dfsg-1+b1 amd64 Common files for packages built from the php5 source ii php5-dev 5.6.14+dfsg-1+b1 amd64 Files for PHP5 module development ii php5-gd 5.6.14+dfsg-1+b1 amd64 GD module for php5 ii php5-imap 5.6.14+dfsg-1+b1 amd64 IMAP module for php5 ii php5-intl 5.6.14+dfsg-1+b1 amd64 internationalisation module for php5 ii php5-json 1.3.7-1 amd64 JSON module for php5 ii php5-ldap 5.6.14+dfsg-1+b1 amd64 LDAP module for php5 ii php5-mcrypt 5.6.14+dfsg-1+b1 amd64 MCrypt module for php5 ii php5-mysql 5.6.14+dfsg-1+b1 amd64 MySQL module for php5 ii php5-pspell 5.6.14+dfsg-1+b1 amd64 pspell module for php5 ii php5-readline 5.6.14+dfsg-1+b1 amd64 Readline module for php5 ii php5-sqlite 5.6.14+dfsg-1+b1 amd64 SQLite module for php5 ii phpmyadmin 4:4.5.0.2-2 all MySQL web administration tool ii pkg-php-tools 1.31 all various packaging tools and scripts for PHP packages
Le 2015-11-09 11:50, Fabrice Regnier a écrit :
'lut,
déjà,
que donne tes commandes
dpkg -al | grep apache et
# dpkg -al | grep apache
ii apache2 2.4.16-3
amd64 Apache HTTP Server
ii apache2-bin 2.4.16-3
amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.16-3
all Apache HTTP Server (common files)
ii apache2-utils 2.4.16-3
amd64 Apache HTTP Server (utility programs for web servers)
rc apache2.2-bin 2.4.10-10
amd64 Transitional package for apache2-bin
ii libapache2-mod-dnssd 0.6-3.1
amd64 Zeroconf support for Apache 2 via avahi
ii libapache2-mod-php5 5.6.14+dfsg-1+b1
amd64 server-side, HTML-embedded scripting language (Apache
2 module)
dpkg -al | grep php ?
# dpkg -al | grep php
ii libapache2-mod-php5 5.6.14+dfsg-1+b1
amd64 server-side, HTML-embedded scripting language (Apache
2 module)
ii php-auth 1.6.4-1
all Creating an authentication system
ii php-auth-sasl 1.0.6-2
all Abstraction of various SASL mechanism responses
ii php-crypt-chap 1.5.0-1
all Generating CHAP packets
ii php-db 1.7.14-3
all PHP PEAR Database Abstraction Layer
ii php-gettext 1.0.11-1
all read gettext MO files directly, without requiring
anything other than PHP
ii php-http-request 1.4.4-4
all PEAR class to provide an easy way to perform HTTP
requests
ii php-log 1.12.9-1
all Logging Framework
ii php-mail 1.2.0-7
all Class that provides multiple interfaces for sending
emails
ii php-mail-mime 1.8.9-1
all PHP PEAR module for creating MIME messages
ii php-mail-mimedecode 1.5.5-3
all Provides a class to decode mime messages
ii php-mdb2 2.5.0b5-1
all merge of the PEAR DB and Metabase php database
abstraction layers
ii php-net-dime 1.0.2-2
all class that implements DIME encoding
ii php-net-ldap2 2.1.0-2
all Object oriented interface for searching and
manipulating LDAP-entries
ii php-net-ldap3 1.0.3-1
all Object oriented interface for searching and
manipulating LDAP entries
ii php-net-sieve 1.3.4-2
all Handles talking to a sieve server
ii php-net-smtp 1.6.2-2
all PHP PEAR module implementing SMTP protocol
ii php-net-socket 1.0.14-1
all PHP PEAR Network Socket Interface module
ii php-net-url 1.0.15-3
all easy parsing of Urls
ii php-pear 5.6.14+dfsg-1
all PEAR - PHP Extension and Application Repository
ii php-seclib 1.0.0-2
all implementations of an arbitrary-precision integer
arithmetic library
ii php-soap 0.13.0-1
all SOAP Client/Server class for PHP
ii php-tcpdf 6.0.093+dfsg-1
all PHP class for generating PDF files on-the-fly
ii php5 5.6.14+dfsg-1
all server-side, HTML-embedded scripting language
(metapackage)
ii php5-cli 5.6.14+dfsg-1+b1
amd64 command-line interpreter for the php5 scripting
language
ii php5-common 5.6.14+dfsg-1+b1
amd64 Common files for packages built from the php5 source
ii php5-dev 5.6.14+dfsg-1+b1
amd64 Files for PHP5 module development
ii php5-gd 5.6.14+dfsg-1+b1
amd64 GD module for php5
ii php5-imap 5.6.14+dfsg-1+b1
amd64 IMAP module for php5
ii php5-intl 5.6.14+dfsg-1+b1
amd64 internationalisation module for php5
ii php5-json 1.3.7-1
amd64 JSON module for php5
ii php5-ldap 5.6.14+dfsg-1+b1
amd64 LDAP module for php5
ii php5-mcrypt 5.6.14+dfsg-1+b1
amd64 MCrypt module for php5
ii php5-mysql 5.6.14+dfsg-1+b1
amd64 MySQL module for php5
ii php5-pspell 5.6.14+dfsg-1+b1
amd64 pspell module for php5
ii php5-readline 5.6.14+dfsg-1+b1
amd64 Readline module for php5
ii php5-sqlite 5.6.14+dfsg-1+b1
amd64 SQLite module for php5
ii phpmyadmin 4:4.5.0.2-2
all MySQL web administration tool
ii pkg-php-tools 1.31
all various packaging tools and scripts for PHP packages
# dpkg -al | grep apache ii apache2 2.4.16-3 amd64 Apache HTTP Server ii apache2-bin 2.4.16-3 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.16-3 all Apache HTTP Server (common files) ii apache2-utils 2.4.16-3 amd64 Apache HTTP Server (utility programs for web servers) rc apache2.2-bin 2.4.10-10 amd64 Transitional package for apache2-bin ii libapache2-mod-dnssd 0.6-3.1 amd64 Zeroconf support for Apache 2 via avahi ii libapache2-mod-php5 5.6.14+dfsg-1+b1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
dpkg -al | grep php ?
# dpkg -al | grep php ii libapache2-mod-php5 5.6.14+dfsg-1+b1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php-auth 1.6.4-1 all Creating an authentication system ii php-auth-sasl 1.0.6-2 all Abstraction of various SASL mechanism responses ii php-crypt-chap 1.5.0-1 all Generating CHAP packets ii php-db 1.7.14-3 all PHP PEAR Database Abstraction Layer ii php-gettext 1.0.11-1 all read gettext MO files directly, without requiring anything other than PHP ii php-http-request 1.4.4-4 all PEAR class to provide an easy way to perform HTTP requests ii php-log 1.12.9-1 all Logging Framework ii php-mail 1.2.0-7 all Class that provides multiple interfaces for sending emails ii php-mail-mime 1.8.9-1 all PHP PEAR module for creating MIME messages ii php-mail-mimedecode 1.5.5-3 all Provides a class to decode mime messages ii php-mdb2 2.5.0b5-1 all merge of the PEAR DB and Metabase php database abstraction layers ii php-net-dime 1.0.2-2 all class that implements DIME encoding ii php-net-ldap2 2.1.0-2 all Object oriented interface for searching and manipulating LDAP-entries ii php-net-ldap3 1.0.3-1 all Object oriented interface for searching and manipulating LDAP entries ii php-net-sieve 1.3.4-2 all Handles talking to a sieve server ii php-net-smtp 1.6.2-2 all PHP PEAR module implementing SMTP protocol ii php-net-socket 1.0.14-1 all PHP PEAR Network Socket Interface module ii php-net-url 1.0.15-3 all easy parsing of Urls ii php-pear 5.6.14+dfsg-1 all PEAR - PHP Extension and Application Repository ii php-seclib 1.0.0-2 all implementations of an arbitrary-precision integer arithmetic library ii php-soap 0.13.0-1 all SOAP Client/Server class for PHP ii php-tcpdf 6.0.093+dfsg-1 all PHP class for generating PDF files on-the-fly ii php5 5.6.14+dfsg-1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.6.14+dfsg-1+b1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.14+dfsg-1+b1 amd64 Common files for packages built from the php5 source ii php5-dev 5.6.14+dfsg-1+b1 amd64 Files for PHP5 module development ii php5-gd 5.6.14+dfsg-1+b1 amd64 GD module for php5 ii php5-imap 5.6.14+dfsg-1+b1 amd64 IMAP module for php5 ii php5-intl 5.6.14+dfsg-1+b1 amd64 internationalisation module for php5 ii php5-json 1.3.7-1 amd64 JSON module for php5 ii php5-ldap 5.6.14+dfsg-1+b1 amd64 LDAP module for php5 ii php5-mcrypt 5.6.14+dfsg-1+b1 amd64 MCrypt module for php5 ii php5-mysql 5.6.14+dfsg-1+b1 amd64 MySQL module for php5 ii php5-pspell 5.6.14+dfsg-1+b1 amd64 pspell module for php5 ii php5-readline 5.6.14+dfsg-1+b1 amd64 Readline module for php5 ii php5-sqlite 5.6.14+dfsg-1+b1 amd64 SQLite module for php5 ii phpmyadmin 4:4.5.0.2-2 all MySQL web administration tool ii pkg-php-tools 1.31 all various packaging tools and scripts for PHP packages