Skip to content

Commit

Permalink
Add apc to installed functions
Browse files Browse the repository at this point in the history
  • Loading branch information
helhum committed Jun 30, 2012
1 parent b0d9f4b commit a28f3fc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions install-php-extensions.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#!/bin/bash

# install igbinary
pyrus install pecl/igbinary && pyrus build pecl/igbinary
echo "extension=\"igbinary.so\"" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

function installPhpExtension() {
name=$1
pyrus install pecl/$name && pyrus build pecl/$name
echo "extension=\"$name.so\"" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
}

installPhpExtension igbinary
installPhpExtension apc


0 comments on commit a28f3fc

Please sign in to comment.