Skip to content

Commit

Permalink
Update php.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeClub authored Aug 13, 2022
1 parent 73957bb commit 72dbd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sed -i 's/^;\?process_control_timeout[[:space:]]*=.*/process_control_timeout = 1


extension_dir=`php -i |grep extension_dir |sed 's/[[:space:]]*=>[[:space:]]*/\n/g' |tail -n1`
wget -qO- "https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_${arch}.tar.gz" | tar -xv --overwrite -C /tmp
wget -qO- "https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_${arch}.tar.gz" | tar -zxv --overwrite -C /tmp
ioncube_path="${extension_dir}/ioncube.so"
cp -rf "/tmp/ioncube/ioncube_loader_lin_${phpVer}.so" "${ioncube_path}"
sed -i '/ioncube\.so/d' "/etc/php/${phpVer}/cli/php.ini"
Expand Down

0 comments on commit 72dbd8e

Please sign in to comment.