Je n'arrive pas à faire fonctionner phpmyadmin

Bonsoir,

Lors de ma première installation, j’avais installé LAMP sans problème en suivant [[http://fr.gentoo-wiki.com/wiki/LAMP]]
Mais là, depuis ma réinstallation de Calculate, pas moyen de faire fonctionner phpmyadmin.
En fait, le dossier /var/www/localhost/htdocs/phpmyadmin n’as pas été créé.
J’ai essayé de le créer en le copiant de Mageia :

calculate ~ # cp -a /mageai/var/www/phpmyadmin/ /var/www/localhost/htdocs/

Mais ensuite, quand je vais dans [[http://localhost/phpmyadmin]]
j’ai ce message :

PHP ne peut charger l'extension mysql,
veuillez vérifier votre configuration de PHP

J’ai cherché dans les forums Gentoo, et j’ai trouvé ceci : [[http://forums.gentoo.org/viewtopic-t-822311-highlight-htdocs+phpmyadmin.html]]
Mais je ne sais pas comment utiliser cette commande :

calculate ~ # webapp-config
Usage: webapp-config [-ICU] [-dghus] <APPLICATION VERSION>

Options:
  --version             show program's version number and exit

  APPLICATION VERSION:
    The name and version number of the web application to install e.g.
    phpmyadmin 2.5.4. TheAPPLICATION must have already been installed into
    the /usr/share/webapps directory tree using emerge

  <Main Options>:
    -I, --install       Install a web application
    -C, --clean         Remove a web application
    -U, --upgrade       Upgrade a web application

J’ai aussi trouvé qu’il y avait un fichier contenant des instructions :

joel@calculate ~ $ cat  /usr/portage/dev-db/phpmyadmin/files/postinstall-en-3.1.txt 
If this is a new installation:

1. Configure ${PN}:

a) Create config.inc.php. You can use the web-based installer
   (this requires the 'setup' USE flag to be enabled):

   mkdir ${MY_INSTALLDIR}/config
   chown ${VHOST_SERVER_UID}:${VHOST_SERVER_UID} ${MY_INSTALLDIR}/config

   then go to http://${VHOST_HOSTNAME}${VHOST_APPDIR}/setup/

   once you've saved the configuration:

   cp ${MY_INSTALLDIR}/config/config.inc.php ${MY_INSTALLDIR}/config.inc.php
   rm -rf ${MY_INSTALLDIR}/config

b) Alternatively, use an existing configuration:

   cp <path to existing config.inc.php file> ${MY_INSTALLDIR}/

c) Alternatively, use the sample config file:

   cp ${MY_INSTALLDIR}/config.sample.inc.php ${MY_INSTALLDIR}/config.inc.php

2. Be sure that the libraries/ directory is not visible. You can use the
   provided .htaccess file.

=================================================================

If you are upgrading from an earlier version:

1. If you are using ${PN}'s features for master/foreign tables, be sure to read
   http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/Documentation.html#col_com

   You will need to perform the ALTER TABLE step yourself.

Mais je ne comprends pas du tout ce que je dois faire, malgré la traduction Google.
Help me !