[Installer phpmyadmin] erreur 403 (résolu)

Applications, problèmes de configuration réseau
Avatar de l’utilisateur
hackman61
Hankyu
Messages : 46
Inscription : mer. 16 mars 2011, 16:45
Localisation : Alencon, Basse-Normandie

[Installer phpmyadmin] erreur 403 (résolu)

Message par hackman61 »

Bonjour à tous en ce beau lundi ensoleillé,
j'ai installé apache, php et mysql. J'ai accès a un fichier info.php, et à mysql en console, donc ça c'est ok... J'ai fait un yaourt -S phpmyadmin, ça a fonctionné mais quand je fais http://localhost/phpmyadmin, j'ai une erreur 403 --> Forbidden, je vois pas trop pourquoi, j'ai bien décommenté les extensions dans php.ini...

Voila voila merci d'avances
Dernière modification par hackman61 le lun. 21 mars 2011, 14:04, modifié 1 fois.
[Soft]__________________________________[Matériel]

OS: Arch Linux x86_64____________________AMD Phenom(tm) II X4 840 Processor
Kernel: 3.7.4-1-ARCH _____________________12 Go DDR3
Shell: bash_____________________________1TOGo SATA --> Arch
Résolution: 1920*1080_____________________250 SATA --> Windows7
Pilote Catalyst non-libre___________________Ati Radeon HD6850 2Go Vram
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17630
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Installer phpmyadmin] erreur 403 (en cours)

Message par benjarobin »

As tu modifié la configuration de apache (httpd) pour qu'il prenne en compte phpmyadmin ?
Voir wiki pour plus de détail : https://wiki.archlinux.org/index.php/Phpmyadmin
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
hackman61
Hankyu
Messages : 46
Inscription : mer. 16 mars 2011, 16:45
Localisation : Alencon, Basse-Normandie

Re: [Installer phpmyadmin] erreur 403 (en cours)

Message par hackman61 »

J'&i fais ça :

Code : Tout sélectionner

Copy the example configuration file to your httpd configuration directory.
cp /etc/webapps/phpmyadmin/apache.example.conf /etc/httpd/conf/extra/httpd-phpmyadmin.conf
Add the following lines to /etc/httpd/conf/httpd.conf:
# phpMyAdmin configuration
Include conf/extra/httpd-phpmyadmin.conf
et ça :

Code : Tout sélectionner

Add the following lines to /etc/httpd/conf/httpd.conf:
# Use for PHP 5.x:
LoadModule php5_module        modules/libphp5.so
AddHandler php5-script php
[Soft]__________________________________[Matériel]

OS: Arch Linux x86_64____________________AMD Phenom(tm) II X4 840 Processor
Kernel: 3.7.4-1-ARCH _____________________12 Go DDR3
Shell: bash_____________________________1TOGo SATA --> Arch
Résolution: 1920*1080_____________________250 SATA --> Windows7
Pilote Catalyst non-libre___________________Ati Radeon HD6850 2Go Vram
Avatar de l’utilisateur
hackman61
Hankyu
Messages : 46
Inscription : mer. 16 mars 2011, 16:45
Localisation : Alencon, Basse-Normandie

Re: [Installer phpmyadmin] erreur 403 (en cours)

Message par hackman61 »

Bon je viens de mettre un # sur le /usr/share/webapps/phpMyAdmin/.htaccess
ce qui donne :

Code : Tout sélectionner

#deny from all
et là... ça marche!
[Soft]__________________________________[Matériel]

OS: Arch Linux x86_64____________________AMD Phenom(tm) II X4 840 Processor
Kernel: 3.7.4-1-ARCH _____________________12 Go DDR3
Shell: bash_____________________________1TOGo SATA --> Arch
Résolution: 1920*1080_____________________250 SATA --> Windows7
Pilote Catalyst non-libre___________________Ati Radeon HD6850 2Go Vram
Répondre