suite à un lancement de WAMP sans être administrateur, j'ai une erreur au lancement de Wamp pourtant l'icône est vert :
*** ERROR *** The PHP configuration loaded file is: - should be: C:/wamp/bin/apache/apache2.4.17/bin/php.ini or c:/wamp/bin/php/php5.6.15/phpforapache.ini
J'ai 5 sites en cours comment procéder sans tout ré-installer?
Apparemment il y a un fichier config qui s'est modifié..... On dirait que c'est le fichier wampmanager.ini
merci de votre aide Thierry
Modifie 2 fois. Derniere modification le 10/12/2015 à 14:14 par tplace.
Déjà, pour être sûr de lancer Wampserver "En tant qu'administrateur", modifiez les raccourcis : Pour chaque raccourci, clic-droit, Propriétés, Onglet Raccourci : -- Cocher "Exécuter en tant qu'administrateur" - OK - Appliquer - OK.
Ensuite, pour être (presque) certain de la procédure à appliquer, j'ai délibérément supprimé le lien symbolique wamp/bin/apache/apache2.4.17/bin/php.ini qui est un lien symbolique pointant sur wamp/bin/php/php5.6.15/phpForApache.ini et j'obtiens bien la même erreur, avec icône verte. Voilà ce que je fais, en temps réel (Je ne sais pas si ça va fonctionner...) - Quitter Wampmanager - Ouvrir une fenêtre de commande "en tant qu'administrateur" (Il doit donc y avoir noté Administrateur dans la barre de titre) Dans cette fenêtre, se positionner dans wamp\bin\apache\apache2.4.17\bin - Taper : mklink php.ini c:\wamp\bin\php\php5.6.15\phpForApache.ini
Bien sûr en remplaçant par votre chemin d'installation et en respectant minuscule et Majuscules vous devriez obtenir, dans la fenêtre :
c:\wamp\bin\apache\apache2.4.17\bin>mklink php.ini c:\wamp\bin\php\php5.6.15\phpForApache.ini
Lien symbolique créé pour php.ini <<===>> c:\wamp\bin\php\php5.6.15\phpForApache.ini
c:\wamp\bin\apache\apache2.4.17\bin>
Lancer Wampmanager en tant qu'administrateur, donc par un des raccourcis modifiés.
Et.... ça marche !
Procédure simplifiée ajoutée le 18 mai 2016 - Icône Wampmaneger (Même si pas verte) -> Apache -> Version -> 2.4.xx (Cliquez sur la version cochée) - Icône Wampmaneger (Même si pas verte) -> PHP -> Version -> 5.6.15 (Cliquez sur la version cochée)
Avec Wampserver 3.0.4 : - Clic-Droit icône Wampmanager -> Rafraîchir
------------------------------------------------------------------------------------------------------------ Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5 Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3 PhPMyadmin 5.1.3 - MysqlDumper 1.24.5 on W10 and W7 Pro 64 bit Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons « Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche » « It's not because they are many to be wrong, they are necessarily right. Coluche »
Modifie 2 fois. Derniere modification le 18/05/2016 à 16:55 par Otomatic.
Bonjour j'ai suivi cette procédure pour résoudre mon problème identique au sujet traité et cela ne fonctionne pas
D:\wamp\bin\apache\apache2.4.53>cd bin
D:\wamp\bin\apache\apache2.4.53\bin>mklink php.ini D:\wamp\bin\php\php8.1.4\phpForApache.ini Impossible de créer un fichier déjà existant.
D:\wamp\bin\apache\apache2.4.53\bin>mklink php.ini D:\wamp\bin\php\php8.1.4\phpForApache.ini Impossible de créer un fichier déjà existant.
D:\wamp\bin\apache\apache2.4.53\bin>mklink php.ini D:\wamp\bin\php\php8.1.4\phpForApache.ini Impossible de créer un fichier déjà existant.
D:\wamp\bin\apache\apache2.4.53\bin>mklink php.ini D:\wamp\bin\php\php8.1.4\phpForApache.ini Lien symbolique créé pour php.ini <<===>> D:\wamp\bin\php\php8.1.4\phpForApache.ini
D:\wamp\bin\apache\apache2.4.53\bin>
-------------------------------------------------page localhost au rédémarrage
*** ERROR *** The PHP configuration loaded file is: d:/wamp/bin/apache/apache2.4.35/bin/php.ini - should be: D:/wamp/bin/apache/apache2.4.53/bin/php.ini or d:/wamp/bin/php/php8.1.4/phpforapache.ini You must perform: Right-click icon Wampmanager -> Refresh
> d:/wamp/bin/apache/apache2.4.35/bin/php.ini Erreur de copie ou avez-vous bien Apache 2.4.35 ?
- Résultat de Clic-Droit -> Outils -> Vérifier les liens symboliques
------------------------------------------------------------------------------------------------------------ Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5 Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3 PhPMyadmin 5.1.3 - MysqlDumper 1.24.5 on W10 and W7 Pro 64 bit Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons « Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche » « It's not because they are many to be wrong, they are necessarily right. Coluche »
> D:\wamp\bin\apache\apache2.4.53\bin>mklink php.ini D:\wamp\bin\php\php8.1.4\phpForApache.ini > Impossible de créer un fichier déjà existant. Avant d'exécuter cette commande qu'avais-je écrit ?
« j'ai délibérément supprimé le lien symbolique wamp/bin/apache/apache2.4.17/bin/php.ini »
Donc, avant la commande, il faut supprimer le lien symbolique.
Néanmoins, tout ça est fait automatiquement par : Clic-Droit -> Outils -> Vérifier les liens symboliques
------------------------------------------------------------------------------------------------------------ Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5 Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3 PhPMyadmin 5.1.3 - MysqlDumper 1.24.5 on W10 and W7 Pro 64 bit Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons « Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche » « It's not because they are many to be wrong, they are necessarily right. Coluche »