Bonjour à tous,
J'utilise L'IDE Eclipse pour faire entre autre du déboguage en PHP en mode server PHP CLI Application.
Le deboguage dans ce mode est impossible à faire si je ne modifie pas le fichier php.ini situé dans : C:\Wamp64\bin\php\php7.1.1\php.ini car si je le modifie uniquement dans le php.ini par le biais du menu de Wampserver, seul le déboguage en PHP Web Application marchera..
j'utilise Win 10 64 bits,Wampserver 3.1.1 ,Apache 2.4.25, PHP 7.1.1,Mysql 5.7.17,Mariadb 10.1.19
Est-ce que c'est normal? ...puisque dans ce fichier php.ini (C:\Wamp64\bin\php\php7.1.1\php.ini), qu'il est mis:
"; **************************************************************
; ****** DO NOT EDIT THIS FILE **** DO NOT EDIT THIS FILE ******
; * This file is only use by PHP CLI (Command Line Interface) *
; * that is to say by Wampserver internal PHP scripts *
; * THE CORRECT FILE TO EDIT is Wampmanager Icon->PHP->php.ini *
; * that is wamp/bin/apache/apache2.x.y/bin/php.ini *
; **************************************************************
J'ai trouvé cette solution dans le forum de stack overflow:
"
WAMPServer comes with XDEBUG already installed. But only in the php.ini that is used by Apache.
If you want it available for the PHP CLI then all you have to do is
Open the php.ini using wampmanager->php->php.ini
Go to the bottom of the php.ini file
Copy the complete [xdebug] section
Edit \wamp\bin\php\php{version}\php.ini (whichever version you are using, or all the versions)
Paste the [xdebug] section into the bottom of the file
Save php.ini
Then it will also work in the PHP CLI
If you want the latest version of XDEBUG then go here [wampserver.aviatechno.net] and download the XDEBUG ADDON Update xDebug 2.5.0 32 bit x86 or Update xDebug 2.5.0 64 bit x64 depending on which version of WAMPServer you installed (32 or 64 bit)
You can also download the latest version of WAMPServer Wampserver update 3.0.8 ADDON while you are there, this just upgrades the WAMPServer control code and not any versions of APACHE,MYSQL or PHP.
But there are also ADDONS available there that will add the latest versions of Apache, Mysql and PHP as well as well as latest versions of phpMyAdmin/Sysinfo and Adminer
I suggest you get rid of whatever version of XDEBUG you downloaded"
Lien: [stackoverflow.com]#
J'utilise L'IDE Eclipse pour faire entre autre du déboguage en PHP en mode server PHP CLI Application.
Le deboguage dans ce mode est impossible à faire si je ne modifie pas le fichier php.ini situé dans : C:\Wamp64\bin\php\php7.1.1\php.ini car si je le modifie uniquement dans le php.ini par le biais du menu de Wampserver, seul le déboguage en PHP Web Application marchera..
j'utilise Win 10 64 bits,Wampserver 3.1.1 ,Apache 2.4.25, PHP 7.1.1,Mysql 5.7.17,Mariadb 10.1.19
Est-ce que c'est normal? ...puisque dans ce fichier php.ini (C:\Wamp64\bin\php\php7.1.1\php.ini), qu'il est mis:
"; **************************************************************
; ****** DO NOT EDIT THIS FILE **** DO NOT EDIT THIS FILE ******
; * This file is only use by PHP CLI (Command Line Interface) *
; * that is to say by Wampserver internal PHP scripts *
; * THE CORRECT FILE TO EDIT is Wampmanager Icon->PHP->php.ini *
; * that is wamp/bin/apache/apache2.x.y/bin/php.ini *
; **************************************************************
J'ai trouvé cette solution dans le forum de stack overflow:
"
WAMPServer comes with XDEBUG already installed. But only in the php.ini that is used by Apache.
If you want it available for the PHP CLI then all you have to do is
Open the php.ini using wampmanager->php->php.ini
Go to the bottom of the php.ini file
Copy the complete [xdebug] section
Edit \wamp\bin\php\php{version}\php.ini (whichever version you are using, or all the versions)
Paste the [xdebug] section into the bottom of the file
Save php.ini
Then it will also work in the PHP CLI
If you want the latest version of XDEBUG then go here [wampserver.aviatechno.net] and download the XDEBUG ADDON Update xDebug 2.5.0 32 bit x86 or Update xDebug 2.5.0 64 bit x64 depending on which version of WAMPServer you installed (32 or 64 bit)
You can also download the latest version of WAMPServer Wampserver update 3.0.8 ADDON while you are there, this just upgrades the WAMPServer control code and not any versions of APACHE,MYSQL or PHP.
But there are also ADDONS available there that will add the latest versions of Apache, Mysql and PHP as well as well as latest versions of phpMyAdmin/Sysinfo and Adminer
I suggest you get rid of whatever version of XDEBUG you downloaded"
Lien: [stackoverflow.com]#