标签:class echo ecs php.ini ble ash ext config bin
一,mariadb
!/bin/bash #memcache if [ ! -f memcache-3.0.6.tgz ];then wget http://oss.aliyuncs.com/aliyunecs/onekey/php_extend/memcache-3.0.6.tgz fi rm -rf memcache-3.0.6 tar -xzvf memcache-3.0.6.tgz cd memcache-3.0.6 /alidata/server/php/bin/phpize ./configure --enable-memcache --with-php-config=/alidata/server/php/bin/php-config CPU_NUM=$(cat /proc/cpuinfo | grep processor | wc -l) if [ $CPU_NUM -gt 1 ];then make -j$CPU_NUM else make fi make install cd .. echo "extension=memcache.so" >> /alidata/server/php/etc/php.ini
标签:class echo ecs php.ini ble ash ext config bin
原文地址:http://www.cnblogs.com/Crius/p/env.html