pickles/tests/travis.sh
Josh Sherman ab6623d6fb Trying to debug hhvm
Added php -i to see where the php.ini file lives, the one I read about on
Github doesn't allow me to write to it.
2014-10-03 06:10:45 -04:00

16 lines
302 B
Bash
Executable file

#!/bin/sh
php -i
VERSION=`phpenv version-name`
if [ "${VERSION}" = 'hhvm' ]
then
PHPINI=/etc/hhvm/php.ini
else
PHPINI=~/.phpenv/versions/$VERSION/etc/php.ini
fi
echo "extension = memcache.so" >> $PHPINI
echo "extension = memcached.so" >> $PHPINI
echo "extension = redis.so" >> $PHPINI