merci d'avance pour votre aide.
Mon serveur:
Je viens d'installer Ubuntu Server 17.04 avec les logiciels de base et LAMP. (J'ai d'abord essayé 18 ans, mais à cause de ce bogue ( https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1767569 ) Je ne peux pas l'installer à partir d'un périphérique USB.
L'objectif est d'avoir un serveur Web local dans mon intranet actuel. Apache, PHP et MySQL fonctionnent correctement.
J'ai déjà configuré mon DNS pour qu'il pointe vers le serveur Web et j'obtiens le site par défaut d'Apache. Lorsque j'ouvre mon phpinfo, je reçois PHP Version 7.0.15-1ubuntu4
, donc php7 fonctionne correctement.
Je n'ai pas encore essayé le FTP, mais cela pourrait être fait plus tard.
Problème:
Tout ce dont j'ai besoin maintenant, c’est d’exécuter phpmadmin, car j’obtiens une erreur lors de l’ouverture de/phpmyadmin. J’ai donc vérifié le serveur et il semble que phpmyadmin n’est pas installé avec LAMP (pas de dossier phpmyadmin dans/usr/share /)
Ce que j'ai essayé jusqu'à présent:
deb http://us.archive.ubuntu.com/ubuntu/ zesty universe multiverse
et deb http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe multiverse
à la liste des pensionsSudo add-apt-repository ppa:nijel/phpmyadmin
apt-get update
et apt-get upgrade
plusieurs foisapt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
phpmyadmin : Depends: php but it is not installable
Depends: php-mbstring but it is not installable
Depends: php-xml but it is not installable
Depends: libjs-sphinxdoc (>= 1.0) but it is not installable
Depends: dbconfig-mysql but it is not installable or
dbconfig-no-thanks but it is not installable or
dbconfig-common (< 2.0.0) but it is not installable
Depends: php-php-gettext but it is not installable or
php-gettext (<= 1:7.0) but it is not installable
Depends: php-phpseclib (>= 2.0) but it is not installable
Recommends: php-curl but it is not installable
Recommends: php-Gd but it is not installable
Recommends: php-bz2 but it is not installable
Recommends: php-Zip but it is not installable
Recommends: php-tcpdf but it is not installable
E: Unable to correct problems, you have held broken packages.
Maintenant, quand j'émets la commande apt-get install phpmyadmin php php-mbstring php-xml libjs-sphinxdoc dbconfig-mysql php-php-gettext php-phpseclib php-curl php-Gd php-bz2 php-Zip php-tcpdf
, j'obtiens les erreurs suivantes:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-mbstring is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-xml is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libjs-sphinxdoc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package dbconfig-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-php-gettext is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-phpseclib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-Gd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-bz2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-Zip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php-tcpdf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php' has no installation candidate
E: Package 'php-mbstring' has no installation candidate
E: Package 'php-xml' has no installation candidate
E: Package 'libjs-sphinxdoc' has no installation candidate
E: Package 'dbconfig-mysql' has no installation candidate
E: Package 'php-php-gettext' has no installation candidate
E: Package 'php-phpseclib' has no installation candidate
E: Package 'php-curl' has no installation candidate
E: Package 'php-Gd' has no installation candidate
E: Package 'php-bz2' has no installation candidate
E: Package 'php-Zip' has no installation candidate
E: Package 'php-tcpdf' has no installation candidate
Pour le moment, je ne sais pas ce que je peux faire d'autre, mais demander ici. J'ai vu que beaucoup d'utilisateurs avaient déjà du mal à faire fonctionner phpmyadmin sur Linux avec LAMP, mais il me semble que tous ces problèmes ont été résolus avec des solutions que j'ai déjà essayées. J'apprécierais vraiment toute aide ici. (Si vous demandez: Outre les modifications apportées au fichier sources.list que j'ai mentionné ci-dessus, je n'ai ajouté aucun autre dépôt.)
Bien,
la solution était comme je l'ai posté dans mon commentaire ci-dessus. La version 17.04 étant en fin de vie, je n’ai trouvé aucun logiciel. J'ai réinstallé 16.04 LTS et tout fonctionne parfaitement.