HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/php-cgi.postinst
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
    update-alternatives \
        --install /usr/bin/php-cgi php-cgi /usr/bin/php-cgi.default 100 \
        --slave /usr/share/man/man1/php-cgi.1.gz php-cgi.1.gz \
        /usr/share/man/man1/php-cgi.default.1.gz

    update-alternatives \
        --install /usr/lib/cgi-bin/php php-cgi-bin /usr/lib/cgi-bin/php.default 100
fi



exit 0