Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 16/06/2013, à 11:58

Setsuneh

Accéder à phpmyadmin en localhost

Bonjour,

Bon j'avoues qu'il s'agit de la première fis que j'utilise Apache2 sur Ubuntu. J'ai suivi les docs phhmyadmin, mysql, apache2 à la lettre. Sauf qu'il m'est impossible de me connecter en localhost php, je tombe sur: Not Found - The requested URL /phpmyadmin/navigation.php< was not found on this server.
index.php même affaire.

Pourtant en localhost: It Works !

J'ai essayé de faire le lien "sudo ln -s /usr/share/phpmyadmin /var/www/", reconfigurer mysql mais rien n'y fait ...

Hors ligne

#2 Le 16/06/2013, à 13:22

agensbur

Re : Accéder à phpmyadmin en localhost

Glisser le dossier phpmyadmin dans le dossier 'www' ?

Dernière modification par agensbur (Le 16/06/2013, à 13:23)

Hors ligne

#3 Le 16/06/2013, à 14:07

Setsuneh

Re : Accéder à phpmyadmin en localhost

Salut !

root@setsuneh-X401A1:~# cd /var/www
root@setsuneh-X401A1:/var/www# ls
index.html  index.lighttpd.html  phpmyadmin  phpmyadmin

Je ne comprends même pas pourquoi le dossier est en deux fois O_o

Hors ligne

#4 Le 17/06/2013, à 19:26

Setsuneh

Re : Accéder à phpmyadmin en localhost

Up !

Hors ligne

#5 Le 17/06/2013, à 23:18

mitchreward

Re : Accéder à phpmyadmin en localhost

tu peux faire un cat de /var/log/apache2/error.log   stp histoire d'en savoir plus ?

Hors ligne

#6 Le 18/06/2013, à 09:34

Setsuneh

Re : Accéder à phpmyadmin en localhost

root@setsuneh-X401A1:~# cat /var/log/apache2/error.log
[Sun Jun 16 11:35:25 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 11:37:55 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 11:38:00 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.1 configured -- resuming normal operations
[Sun Jun 16 11:45:04 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Jun 16 11:45:04 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Jun 16 11:45:26 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Jun 16 11:45:26 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Jun 16 11:48:27 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Sun Jun 16 11:49:00 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin, referer: http://www.neoflow.fr/tutoriels.item.154/installer-un-serveur-lamp-linux-apache-mysql-php.html
[Sun Jun 16 11:49:20 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 11:49:21 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.1 configured -- resuming normal operations
[Sun Jun 16 11:49:25 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin, referer: http://www.neoflow.fr/tutoriels.item.154/installer-un-serveur-lamp-linux-apache-mysql-php.html
[Sun Jun 16 11:49:35 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Sun Jun 16 11:50:51 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 11:50:52 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.1 configured -- resuming normal operations
[Sun Jun 16 11:51:01 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Sun Jun 16 11:52:14 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 11:52:15 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.1 configured -- resuming normal operations
[Sun Jun 16 11:52:53 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 11:52:54 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.1 configured -- resuming normal operations
[Sun Jun 16 11:53:03 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin
[Sun Jun 16 11:53:16 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 11:53:17 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.1 configured -- resuming normal operations
[Sun Jun 16 12:12:38 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 12:12:48 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:14:29 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 12:14:48 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:17:47 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin, referer: http://doc.ubuntu-fr.org/phpmyadmin
[Sun Jun 16 12:20:50 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:20:50 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Jun 16 12:20:50 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:21:07 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:21:07 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Jun 16 12:21:07 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:21:27 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Jun 16 12:21:27 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Jun 16 12:21:35 2013] [error] [client 127.0.0.1] File does not exist: /usr/share/phpmyadmin/navigation.php<, referer: http://127.0.1.1/phpmyadmin/
[Sun Jun 16 12:21:35 2013] [error] [client 127.0.0.1] File does not exist: /usr/share/phpmyadmin/<, referer: http://127.0.1.1/phpmyadmin/
[Sun Jun 16 12:21:35 2013] [error] [client 127.0.0.1] File does not exist: /usr/share/phpmyadmin/navigation.php<, referer: http://127.0.1.1/phpmyadmin/
[Sun Jun 16 12:22:26 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:22:26 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Jun 16 12:22:26 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:22:37 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.1.1/phpmyadmin/
[Sun Jun 16 12:22:37 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://127.0.1.1/phpmyadmin/
[Sun Jun 16 12:22:37 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.1.1/phpmyadmin/
[Sun Jun 16 12:22:48 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:22:48 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:22:48 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:23:52 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:23:52 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:23:52 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:24:33 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:24:33 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:24:33 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:24:33 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:24:33 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Jun 16 12:24:33 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:25:23 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:25:23 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:25:23 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Jun 16 12:25:23 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:27:07 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:27:07 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:27:07 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:27:07 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.88 for ServerName
[Sun Jun 16 12:27:07 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:29:06 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 12:29:07 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:29:41 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:29:41 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:29:41 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:29:56 2013] [notice] caught SIGTERM, shutting down
[Sun Jun 16 12:29:57 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:30:09 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 12:30:09 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 12:30:09 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 12:31:16 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/scripts
[Sun Jun 16 12:31:47 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:31:47 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:31:47 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:32:07 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:32:07 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:32:07 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:32:07 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:32:35 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:32:35 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:32:57 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/scripts
[Sun Jun 16 12:33:01 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:33:01 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:33:02 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:33:04 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:33:04 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:33:04 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:34:00 2013] [error] [client 127.0.0.1] File does not exist: /var/www/index.php
[Sun Jun 16 12:40:02 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 12:40:02 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 12:40:02 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 12:42:46 2013] [notice] Graceful restart requested, doing restart
[Sun Jun 16 12:42:46 2013] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Jun 16 12:42:46 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Jun 16 12:45:31 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:45:31 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:45:31 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:52:51 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:52:51 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:52:51 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:52:53 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:52:53 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:52:53 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/
[Sun Jun 16 12:52:58 2013] [error] [client 127.0.0.1] File does not exist: /var/www/index.php
[Sun Jun 16 13:00:35 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 13:00:35 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 13:00:35 2013] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/navigation.php<, referer: http://127.0.0.1/phpmyadmin/
[Sun Jun 16 15:10:42 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Mon Jun 17 01:16:12 2013] [notice] caught SIGTERM, shutting down
[Mon Jun 17 09:57:28 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations

Ca fait beaucoup je trouve ;x

Hors ligne

#7 Le 18/06/2013, à 09:43

mitchreward

Re : Accéder à phpmyadmin en localhost

a tu déclaré ton vhost a apache? Avec la commande a2ensite ?

Hors ligne

#8 Le 18/06/2013, à 09:46

mazarini

Re : Accéder à phpmyadmin en localhost

Si tu as installé phpmyadmin via un paquet, il n'y a pas besoin d'avoir un dossier phpmyadmin dans le répertoire /var/www.
Le lien se fait dans la configuration d'apache (/etc/apache2/conf.d/phpmyadmin ?) ce fichier est pris en compte lors du redémarrage d'apache.
C'est ce genre de commande qui permet l'acces à /phpmyadmin :

Alias /phpmyadmin /usr/share/phpmyadmin
 <Directory /usr/share/phpmyadmin>
...

S'il existait une école de la politique, les locaux devraient être édifiés rue de la Santé. Les élèves pourraient s'habituer. (Pierre Dac)

Hors ligne