diff --git a/plugins/php/versions/common/bcmath.sh b/plugins/php/versions/common/bcmath.sh index 8d02380a8..341ad1d4c 100755 --- a/plugins/php/versions/common/bcmath.sh +++ b/plugins/php/versions/common/bcmath.sh @@ -60,8 +60,13 @@ Install_lib() fi $serverPath/php/$version/bin/phpize - ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS + if [ "$version" == "83" ];then + CFLAGS="-std=c99" ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS + else + ./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS + fi + make clean && make && make install && make clean if [ -d $sourcePath/php${version} ];then