|
|
|
@ -56,8 +56,8 @@ fi |
|
|
|
|
echo "$sourcePath/php/php${PHP_VER}" |
|
|
|
|
|
|
|
|
|
if [ ! -d $serverPath/php/${PHP_VER} ];then |
|
|
|
|
cd $sourcePath/php/php${PHP_VER} |
|
|
|
|
# ./buildconf --force |
|
|
|
|
cd $sourcePath/php/php${PHP_VER} && make clean |
|
|
|
|
./buildconf --force |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=$serverPath/php/${PHP_VER} \ |
|
|
|
|
--exec-prefix=$serverPath/php/${PHP_VER} \ |
|
|
|
@ -79,7 +79,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then |
|
|
|
|
--disable-fileinfo \ |
|
|
|
|
$OPTIONS \ |
|
|
|
|
--enable-fpm |
|
|
|
|
make clean && make && make install && make clean |
|
|
|
|
make && make install && make clean |
|
|
|
|
fi |
|
|
|
|
#------------------------ install end ------------------------------------# |
|
|
|
|
} |
|
|
|
|