Browse Source

Update xdebug version and remove version restrictions for php7.4

mrgeneralgoo 4 years ago
parent
commit
f5aa8c3dd7
2 changed files with 3 additions and 3 deletions
  1. 2 2
      include/pecl_xdebug.sh
  2. 1 1
      versions.txt

+ 2 - 2
include/pecl_xdebug.sh

@@ -14,8 +14,8 @@ Install_pecl_xdebug() {
     phpExtensionDir=$(${php_install_dir}/bin/php-config --extension-dir)
     PHP_detail_ver=$(${php_install_dir}/bin/php-config --version)
     PHP_main_ver=${PHP_detail_ver%.*}
-    if [[ "${PHP_main_ver}" =~ ^5.[5-6]$|^7.[0-3]$ ]]; then
-      if [[ "${PHP_main_ver}" =~ ^7.[0-3]$ ]]; then
+    if [[ "${PHP_main_ver}" =~ ^5.[5-6]$|^7.[0-4]$ ]]; then
+      if [[ "${PHP_main_ver}" =~ ^7.[0-4]$ ]]; then
         src_url=https://pecl.php.net/get/xdebug-${xdebug_ver}.tgz && Download_src
         tar xzf xdebug-${xdebug_ver}.tgz
         pushd xdebug-${xdebug_ver} > /dev/null

+ 1 - 1
versions.txt

@@ -83,7 +83,7 @@ yaf_ver=3.0.9
 yar_ver=2.0.7
 swoole_ver=4.4.16
 swoole_oldver=1.10.5
-xdebug_ver=2.9.2
+xdebug_ver=2.9.5
 xdebug_oldver=2.5.5
 
 # Ftp