Created
January 23, 2018 18:57
-
-
Save rcfrias/83d92e92f16d01bdf7d8bcb50ea40b5a to your computer and use it in GitHub Desktop.
Special instructions to setup Xdebug in Amazon Linux with PHP7
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 characters
sudo yum -y install php7-pear php70-devel gcc | |
sudo pecl7 install xdebug | |
vi /etc/php-7.0.ini | |
*add "zend_extension=/usr/lib64/php/7.0/modules/xdebug.so" to php.ini | |
apachectl restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to modify these instructions as follows (AWS Linux 2):
sudo yum -y install php-pear phpdevel gcc
sudo pecl install xdebug
vi /etc/php.ini
*add "zend_extension=/usr/lib64/php/7.0/modules/xdebug.so" to php.ini
*apachectr restart gave errors so I rebooted