Update php.sh
This commit is contained in:
parent
df17da11bd
commit
8907b12d90
|
|
@ -30,8 +30,14 @@ if [ ."$php_version" = ."7" ]; then
|
||||||
fi
|
fi
|
||||||
if [ ."$database_version" = ."9.6" ]; then
|
if [ ."$database_version" = ."9.6" ]; then
|
||||||
pkg install --yes postgresql96-client
|
pkg install --yes postgresql96-client
|
||||||
pkg add https://www.fusionpbx.com/php71-pdo_pgsql-7.1.6_1.txz
|
if [ .$(freebsd-version -k | head -c 2) = ."10" ]; then
|
||||||
pkg add https://www.fusionpbx.com/php71-pgsql-7.1.6_1.txz
|
pkg add https://www.fusionpbx.com/downloads/freebsd10/php71-pdo_pgsql-7.1.6_1.txz
|
||||||
|
pkg add https://www.fusionpbx.com/downloads/freebsd10/php71-pgsql-7.1.6_1.txz
|
||||||
|
fi
|
||||||
|
if [ .$(freebsd-version -k | head -c 2) = ."11" ]; then
|
||||||
|
pkg add https://www.fusionpbx.com/downloads/freebsd11/php71-pdo_pgsql-7.1.6_1.txz
|
||||||
|
pkg add https://www.fusionpbx.com/downloads/freebsd11/php71-pgsql-7.1.6_1.txz
|
||||||
|
fi
|
||||||
|
|
||||||
##set the current working directory
|
##set the current working directory
|
||||||
#cwd=$(pwd)
|
#cwd=$(pwd)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue