HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/alt-php-internal-fpm.postinst
#!/bin/bash
major_ver=8
minor_ver=2
php_version="${major_ver}${minor_ver}"
altdir="/opt/alt/php${php_version}"
_prefix='/usr'
_sbindir="${_prefix}/sbin"
[ -x /usr/bin/cl-linksafe-apply-group ] && /usr/bin/cl-linksafe-apply-group alt-php${php_version}-fpm || :
chcon -t httpd_exec_t ${altdir}${_sbindir}/php-fpm 2>/dev/null || :