[quote=“BelZéButh”]
* edit *
Tant que nous y sommes, quels sont ces retours.
[code]# apache2ctl -t
apache2ctl configtest
apache2ctl -S[/code]
Pour "dpkg -l | grep -E “apache2|php|mysql” j’ai ceci:
ii apache2 2.2.22-13 armhf Apache HTTP Server metapackage
ii apache2-mpm-prefork 2.2.22-13 armhf Apache HTTP Server - traditional non-threaded model
ii apache2-utils 2.2.22-13 armhf utility programs for webservers
ii apache2.2-bin 2.2.22-13 armhf Apache HTTP Server common binary files
ii apache2.2-common 2.2.22-13 armhf Apache HTTP Server common files
ii libapache2-mod-auth-mysql 4.3.9-13.1 armhf Apache 2 module for MySQL authentication
ii libapache2-mod-auth-pam 1.1.1-9 armhf module for Apache2 which authenticate using PAM
ii libapache2-mod-auth-sys-group 1.1.1-9 armhf Module for Apache2 which checks user against system group
ii libapache2-mod-php5 5.4.4-14+deb7u5 armhf server-side, HTML-embedded scripting language (Apache 2 module)
ii libdbd-mysql-perl 4.021-1 armhf Perl5 database interface to the MySQL database
ii libmysqlclient16 5.1.62-1 armhf MySQL database client library
ii libmysqlclient18:armhf 5.5.31+dfsg-0+wheezy1 armhf MySQL database client library
ii libphp-adodb 5.15-1 all ADOdb database abstraction layer for PHP
ii mysql-client-5.5 5.5.31+dfsg-0+wheezy1 armhf MySQL database client binaries
ii mysql-common 5.5.31+dfsg-0+wheezy1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.31+dfsg-0+wheezy1 all MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.5 5.5.31+dfsg-0+wheezy1 armhf MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.31+dfsg-0+wheezy1 armhf MySQL database server binaries
ii php-auth 1.6.2-1 all PHP PEAR modules for creating an authentication system
ii php-auth-sasl 1.0.4-1 all Abstraction of various SASL mechanism responses
ii php-mail-mime 1.8.4-1 all PHP PEAR module for creating MIME messages
ii php-mail-mimedecode 1.5.5-1 all PHP PEAR module to decode MIME messages
ii php-mdb2 2.5.0b3-2 all merge of the PEAR DB and Metabase php database abstraction layers
ii php-mdb2-driver-mysql 1.5.0b2-1 all PHP PEAR module to provide a MySQL driver for MDB2
ii php-net-smtp 1.6.1-1 all PHP PEAR module implementing SMTP protocol
ii php-net-socket 1.0.9-2 all PHP PEAR Network Socket Interface module
ii php-pear 5.4.4-14+deb7u5 all PEAR - PHP Extension and Application Repository
ii php5 5.4.4-14+deb7u5 all server-side, HTML-embedded scripting language (metapackage)
ii php5-cli 5.4.4-14+deb7u5 armhf command-line interpreter for the php5 scripting language
ii php5-common 5.4.4-14+deb7u5 armhf Common files for packages built from the php5 source
ii php5-dev 5.4.4-14+deb7u5 armhf Files for PHP5 module development
ii php5-gd 5.4.4-14+deb7u5 armhf GD module for php5
ii php5-intl 5.4.4-14+deb7u5 armhf internationalisation module for php5
ii php5-mcrypt 5.4.4-14+deb7u5 armhf MCrypt module for php5
ii php5-mysql 5.4.4-14+deb7u5 armhf MySQL module for php5
ii php5-pspell 5.4.4-14+deb7u5 armhf pspell module for php5
ii roundcube-mysql 0.7.2-9 all metapackage providing MySQL dependencies for RoundCube
Pour “apache2ctl -t”:
“/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
Syntax OK”
Pour “apache2ctl configtest”:
“apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
Syntax OK”
Pour “apache2ctl -S”:
“apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and default servers:
*:80 is a NameVirtualHost
default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)”
Et pour “more /etc/apache2/sites-enabled/*”:
"<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
"
Voilà !