|
|
@ -11,8 +11,6 @@ rootPath=$(dirname "$rootPath") |
|
|
|
serverPath=$(dirname "$rootPath") |
|
|
|
serverPath=$(dirname "$rootPath") |
|
|
|
sourcePath=${serverPath}/source/php |
|
|
|
sourcePath=${serverPath}/source/php |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
actionType=$1 |
|
|
|
actionType=$1 |
|
|
|
version=$2 |
|
|
|
version=$2 |
|
|
|
|
|
|
|
|
|
|
@ -31,8 +29,6 @@ Install_lib() |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f "$extFile" ];then |
|
|
|
if [ ! -f "$extFile" ];then |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
php_lib=$sourcePath/php_lib |
|
|
|
php_lib=$sourcePath/php_lib |
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $php_lib |
|
|
|
mkdir -p $php_lib |
|
|
@ -43,7 +39,7 @@ Install_lib() |
|
|
|
|
|
|
|
|
|
|
|
$serverPath/php/$version/bin/phpize |
|
|
|
$serverPath/php/$version/bin/phpize |
|
|
|
./configure --with-php-config=$serverPath/php/$version/bin/php-config |
|
|
|
./configure --with-php-config=$serverPath/php/$version/bin/php-config |
|
|
|
make && make install |
|
|
|
make && make install && make clean |
|
|
|
cd .. |
|
|
|
cd .. |
|
|
|
rm -rf yaf-* |
|
|
|
rm -rf yaf-* |
|
|
|
rm -f package.xml |
|
|
|
rm -f package.xml |
|
|
|