How to Install and Uninstall libapache2-mod-php8.2 Package on Kali Linux

Last updated: December 30,2024

1. Install "libapache2-mod-php8.2" package

This guide covers the steps necessary to install libapache2-mod-php8.2 on Kali Linux

$ sudo apt update $ sudo apt install libapache2-mod-php8.2

2. Uninstall "libapache2-mod-php8.2" package

Here is a brief guide to show you how to uninstall libapache2-mod-php8.2 on Kali Linux:

$ sudo apt remove libapache2-mod-php8.2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-php8.2 package on Kali Linux

Package: libapache2-mod-php8.2
Source: php8.2 (8.2.12-1)
Version: 8.2.12-1+b1
Installed-Size: 5470
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: libapache2-mod-php, php-json, php8.2-json, phpapi-20220829
Depends: libmagic1, media-types | mime-support, php8.2-cli, php8.2-common (= 8.2.12-1+b1), php8.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin (>= 2.4.16), libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Recommends: apache2
Suggests: php-pear
Size: 1665672
SHA256: f27a424da1ea8c9f40f765cec38d0a14081584ce9bc0282ed709874a8a2ee509
SHA1: b2ed8f827024fd6662c39d78db06ecc28db194d7
MD5sum: bb62e5dfa1d35a05089c961371c04bc4
Description: server-side, HTML-embedded scripting language (Apache 2 module)
This package provides the PHP module for the Apache 2 webserver (as
found in the apache2-mpm-prefork package). Please note that this package
ONLY works with Apache's prefork MPM, as it is not compiled thread-safe.
.
The following extensions are built in: Core date filter hash json libxml
openssl pcre random Reflection session sodium SPL standard zlib.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5:
Homepage: http://www.php.net/
Tag: devel::interpreter, devel::runtime, implemented-in::c, role::plugin,
role::shared-lib, suite::apache, web::scripting
Section: httpd
Priority: optional
Filename: pool/main/p/php8.2/libapache2-mod-php8.2_8.2.12-1+b1_amd64.deb