Last active
          June 1, 2025 16:31 
        
      - 
      
 - 
        
Save joseluisq/d7586c9e5bd52012e0cf to your computer and use it in GitHub Desktop.  
Revisions
- 
        
joseluisq revised this gist
Sep 5, 2017 . 1 changed file with 8 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,15 +12,7 @@ Or with DNF: $ sudo dnf install php-xdebug ``` If your have an **Nginx server**, we should restart the PHP processor `php-fpm`: ```sh $ sudo systemctl restart php-fpm ``` @@ -29,3 +21,10 @@ Or if you have a **Apache server**, we should restart the `httpd` server: ```sh $ sudo systemctl restart httpd ``` Finally, verify if xdebug extension is loaded: ```sh php -r "echo (extension_loaded('xdebug') ? 'xdebug up and running!' : 'xdebug is not loaded!');" // xdebug up and running!⏎ ```  - 
        
joseluisq revised this gist
Feb 13, 2016 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,14 @@ First, install `xdebug` package on system: ```sh $ sudo yum install php-pecl-xdebug.x86_64 ``` Or with DNF: ```sh $ sudo dnf install php-xdebug ``` Open and edit the `php.ini` file: ```sh  - 
        
joseluisq revised this gist
Feb 23, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,12 +12,12 @@ $ sudo vim /etc/php.ini ``` Add this line `zend_extension="/usr/lib64/php/modules/xdebug.so"` to the file's end. Finally, if your have an **Nginx server**, we should restart the PHP processor `php-fpm`: ```sh $ sudo systemctl restart php-fpm ``` Or if you have a **Apache server**, we should restart the `httpd` server: ```sh $ sudo systemctl restart httpd ```  - 
        
joseluisq revised this gist
Nov 23, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,16 +8,16 @@ $ sudo yum install php-pecl-xdebug.x86_64 Open and edit the `php.ini` file: ```sh $ sudo vim /etc/php.ini ``` Add this line `zend_extension="/usr/lib64/php/modules/xdebug.so"` to the file's end. Finally, if your have an Nginx server, we should restart the PHP processor `php-fpm`: ```sh $ sudo systemctl restart php-fpm ``` Or if you have a Apache server, we should restart the `httpd` server: ```sh $ sudo systemctl restart httpd ```  - 
        
joseluisq revised this gist
Nov 23, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ First, install `xdebug` package on system: ```sh $ sudo yum install php-pecl-xdebug.x86_64 ``` Open and edit the `php.ini` file:  - 
        
joseluisq revised this gist
Nov 23, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # PHP Xdebug installation on Fedora/CentOS x64 First, install `xdebug` package on system:  - 
        
joseluisq renamed this gist
Nov 23, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. - 
        
joseluisq revised this gist
Nov 23, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # PHP Xdebug installation on Fedora / CentOS x86_64 First, install `xdebug` package on system:  - 
        
joseluisq created this gist
Nov 23, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ # PHP Xdebug installation First, install `xdebug` package on system: ```sh $ sudo yum install php-pecl-xdebug.x86_6 ``` Open and edit the `php.ini` file: ```sh $ vim /etc/php.ini ``` Add this line `zend_extension="/usr/lib64/php/modules/xdebug.so"` to the file's end. Finally, if your have an Nginx server, we should restart the PHP processor `php-fpm`: ```sh $ systemctl restart php-fpm ``` Or if you have a Apache server, we should restart the `httpd` server: ```sh $ systemctl restart httpd ```