| Server IP : 195.114.193.97 / Your IP : 216.73.217.93 Web Server : LiteSpeed System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : sembi4241 ( 1126) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
#set -ex
#EXTRA#
if [ "$1" = "configure" ]; then
inidir=/usr/local/lsws/lsphp83/etc/php/8.3/mods-available
if [ -e /usr/local/lsws/lsphp83/bin/php-maintscript-helper ] ; then
. /usr/local/lsws/lsphp83/bin/php-maintscript-helper
elif [ -e /usr/lib/php/php-maintscript-helper ] ; then
. /usr/lib/php/php-maintscript-helper
fi
for dsoname in intl; do
inifile=${dsoname}.ini
# Register new conffile with UCF
ucf /usr/local/lsws/lsphp83/share/lsphp83-intl/intl/${inifile} ${inidir}/${inifile}
ucfr --force lsphp83-intl ${inidir}/${inifile}
if [ -f "${inidir}/${inifile}.dpkg-new" ]; then
md5sum="$(md5sum ${inidir}/${inifile}.dpkg-new | sed -e 's/ .*//')"
old_md5sum="$(md5sum ${inidir}/${inifile} | sed -e 's/ .*//')"
if [ "$md5sum" = "$old_md5sum" ]; then
mv "${inidir}/${inifile}.dpkg-new" "${inidir}/${inifile}"
fi
fi
if [ -e /usr/local/lsws/lsphp83/bin/phpenmod ] ; then
/usr/local/lsws/lsphp83/bin/phpenmod ALL ALL ${dsoname}
elif [ -e /usr/sbin/phpenmod ] ; then
phpenmod ALL ALL ${dsoname}
fi
done
fi
exit 0