Working on script.
This commit is contained in:
parent
cd05384a6d
commit
c7a6852a3d
1 changed files with 2 additions and 2 deletions
|
@ -2,11 +2,11 @@
|
|||
|
||||
VERSION=`phpenv version-name`
|
||||
|
||||
if [ "$VERSION" -eq "hhvm" ]
|
||||
if [ "$VERSION" == "hhvm" ]
|
||||
then
|
||||
PHPINI=/etc/hhvm/php.ini
|
||||
else
|
||||
PHPINI="~/.phpenv/versions/$VERSION/etc/php.ini"
|
||||
PHPINI=~/.phpenv/versions/$VERSION/etc/php.ini
|
||||
fi
|
||||
|
||||
echo "extension = memcache.so" >> $PHPINI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue