mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
预编译二进制文件
This commit is contained in:
BIN
tests/extensions/5.4/apcu.so
Executable file
BIN
tests/extensions/5.4/apcu.so
Executable file
Binary file not shown.
BIN
tests/extensions/5.5/apcu.so
Executable file
BIN
tests/extensions/5.5/apcu.so
Executable file
Binary file not shown.
BIN
tests/extensions/5.6/apcu.so
Executable file
BIN
tests/extensions/5.6/apcu.so
Executable file
Binary file not shown.
BIN
tests/extensions/7.0/apc.so
Executable file
BIN
tests/extensions/7.0/apc.so
Executable file
Binary file not shown.
BIN
tests/extensions/7.0/apcu.so
Executable file
BIN
tests/extensions/7.0/apcu.so
Executable file
Binary file not shown.
BIN
tests/extensions/7.0/memcached.so
Executable file
BIN
tests/extensions/7.0/memcached.so
Executable file
Binary file not shown.
BIN
tests/extensions/7.0/redis.so
Executable file
BIN
tests/extensions/7.0/redis.so
Executable file
Binary file not shown.
@@ -1,30 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $(phpenv version-name) != "hhvm" ]; then
|
||||
pecl channel-update pecl.php.net
|
||||
|
||||
pear config-set php_ini ''
|
||||
pecl config-set php_ini ''
|
||||
cp thinkphp/tests/extensions/$(phpenv version-name)/*.so $(php-config --extension-dir)
|
||||
|
||||
if [ $(phpenv version-name) = "7.0" ]; then
|
||||
echo "yes\nno\n" | pecl install apcu-5.1.2
|
||||
pecl install apcu_bc-beta
|
||||
phpenv config-add thinkphp/tests/conf/apcu_bc.ini
|
||||
|
||||
wget -O phpredis-php7.tar.gz https://github.com/phpredis/phpredis/archive/php7.tar.gz
|
||||
tar -xzvf phpredis-php7.tar.gz
|
||||
cd phpredis-php7 && phpize && ./configure && make && sudo make install
|
||||
|
||||
wget -O memcached-php7.tar.gz https://github.com/php-memcached-dev/php-memcached/archive/php7.zip
|
||||
tar -xzvf memcached-php7.tar.gz
|
||||
cd php-memcached-php7 && phpize && ./configure && make && sudo make install
|
||||
else
|
||||
echo "yes\nno\n" | pecl install apcu-4.0.10
|
||||
phpenv config-add thinkphp/tests/conf/apcu.ini
|
||||
fi
|
||||
|
||||
phpenv config-add thinkphp/tests/conf/memcached.ini
|
||||
phpenv config-add thinkphp/tests/conf/redis.ini
|
||||
fi
|
||||
|
||||
phpenv config-add thinkphp/tests/conf/memcached.ini
|
||||
phpenv config-add thinkphp/tests/conf/redis.ini
|
||||
|
||||
composer install --no-interaction --ignore-platform-reqs
|
||||
|
||||
Reference in New Issue
Block a user