[feature/tests] Add extension-testframework from phpBB gallery

This commit is contained in:
Marc Alexander
2013-10-29 15:02:51 +01:00
parent e3fb1073be
commit d757d7396d
33 changed files with 14630 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
#
# @copyright (c) 2013 phpBB Group
# @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
#
set -e
function add_ext_to_php_ini
{
echo "extension=$1.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
}
# redis
git clone git://github.com/nicolasff/phpredis.git
cd phpredis
phpize
./configure
make
make install
cd ..
add_ext_to_php_ini 'redis'