Skip to content

Commit

Permalink
Fixed conflict
Browse files Browse the repository at this point in the history
 Xdebug for local debugging.
  • Loading branch information
Firesphere committed Mar 6, 2015
2 parents cc6d131 + bd45802 commit 441a6ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/php-54.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PHP_NAME="php"

# declare the php modules we want
MODULES=(common mysql gd mbstring xml tidy)
MODULES=(common mysql gd mbstring xml tidy pear devel)

echo "Installing PHP and common modules"
yum install -y $PHP_NAME ${MODULES[@]/#/$PHP_NAME-}
Expand Down
2 changes: 1 addition & 1 deletion scripts/php-55.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PHP_NAME="php55w"

# declare the php modules we want
MODULES=(common mysql gd mbstring xml tidy)
MODULES=(common mysql gd mbstring xml tidy pear devel)

/vagrant/scripts/epel.sh

Expand Down
8 changes: 8 additions & 0 deletions scripts/xdebug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@
# 7. Aply and done!

echo "Install Xdebug"
<<<<<<< HEAD
yum install -y gcc gcc-c++ autoconf automake
=======
yum install -y gcc gcc-c++ autoconf automake --enablerepo=epel --enablerepo=webtatic
>>>>>>> bd45802707205f028b37227aa70fa1eac89494a4

pecl install Xdebug
if [ ! -f /etc/php.d/xdebug.ini ]
then
echo "[xdebug]
zend_extension=\"/usr/lib64/php/modules/xdebug.so\"
xdebug.remote_connect_back = 1
<<<<<<< HEAD
xdebug.remote_enable = 1" > /etc/php.d/xdebug.ini
=======
xdebug.remote_enable = 1" >> /etc/php.d/xdebug.ini
>>>>>>> bd45802707205f028b37227aa70fa1eac89494a4
fi

0 comments on commit 441a6ff

Please sign in to comment.