浏览代码

Update php.sh

FusionPBX 7 年之前
父节点
当前提交
d959b89ed2
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      debian/resources/php.sh

+ 5 - 0
debian/resources/php.sh

@@ -10,6 +10,11 @@ cd "$(dirname "$0")"
 #send a message
 verbose "Configuring PHP"
 
+#change the version of php for debian stretch
+if [ ."$os_codename" = ."stretch" ]; then
+       php_version=7
+fi
+
 #update config if source is being used
 if [ ."$php_version" = ."5" ]; then
         verbose "version 5.x"