diff --git a/plugins/php/versions/54/install.sh b/plugins/php/versions/54/install.sh index 792ee2a28..e57d317fc 100755 --- a/plugins/php/versions/54/install.sh +++ b/plugins/php/versions/54/install.sh @@ -89,6 +89,9 @@ else fi # ----- cpu end ------ +if [ "${SYS_ARCH}" == "aarch64" ];then + $OPTIONS="$OPTIONS --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu" +fi if [ ! -d $serverPath/php/${PHP_VER} ];then cd $sourcePath/php/php${PHP_VER} && ./configure \