HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User: root (0)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/php8.2-dev.postinst
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
    update-alternatives \
	--install /usr/bin/php-config php-config /usr/bin/php-config8.2 82 \
	--slave /usr/share/man/man1/php-config.1.gz php-config.1.gz /usr/share/man/man1/php-config8.2.1.gz
    update-alternatives \
	--install /usr/bin/phpize phpize /usr/bin/phpize8.2 82 \
	--slave /usr/share/man/man1/phpize.1.gz phpize.1.gz /usr/share/man/man1/phpize8.2.1.gz
fi



exit 0