PHP: serveur local avec XAMPP: erreurs
midiweb
-
Drakss -
Drakss -
Bonjour,
débutant en php, j'ai installé un serveur apache en local avec le paquet XAMPP. Quand je veux démarrer mon serveur http://localhost, j'ai l'erreur suivante:
Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: No such file or directory in C:\php\xampp\htdocs\xampp\index.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\xampp\index.php:2) in C:\php\xampp\htdocs\xampp\index.php on line 4
Le lancement de PHPmyadmin me donne l'erreur:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
je ne trouve la solution même en réinstallant XAMPP.
Qui peut m'aidre? merci
débutant en php, j'ai installé un serveur apache en local avec le paquet XAMPP. Quand je veux démarrer mon serveur http://localhost, j'ai l'erreur suivante:
Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: No such file or directory in C:\php\xampp\htdocs\xampp\index.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\xampp\index.php:2) in C:\php\xampp\htdocs\xampp\index.php on line 4
Le lancement de PHPmyadmin me donne l'erreur:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
je ne trouve la solution même en réinstallant XAMPP.
Qui peut m'aidre? merci
A voir également:
- PHP: serveur local avec XAMPP: erreurs
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour a la ligne php - Forum Webmastering
- Alert php - Forum PHP
- Retour a la ligne php ✓ - Forum PHP
"cela semblerait être un problème d'accès au fichier lang.tmp avec des droits insuffisants"
Effectivement, les droits d'accès à lang.tmp (répertoire : /opt/lampp/htdocs/xampp) sont "600". J'ai simplement fait un chmod 776 sur ce fichier (lang.tmp) et ça a réglé mon problème.
En espérant que ça aidera d'autres personnes.