How to Install and Uninstall libapache2-mod-php Package on Kali Linux

Last updated: December 23,2024

1. Install "libapache2-mod-php" package

Please follow the steps below to install libapache2-mod-php on Kali Linux

$ sudo apt update $ sudo apt install libapache2-mod-php

2. Uninstall "libapache2-mod-php" package

Please follow the guidelines below to uninstall libapache2-mod-php on Kali Linux:

$ sudo apt remove libapache2-mod-php $ sudo apt autoclean && sudo apt autoremove

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

Package: libapache2-mod-php
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: libapache2-mod-php8.2
Size: 3764
SHA256: 58ce3688ab8ab2ca9214b2fcbf96aff27fe7dc910e568409786305d0b84279f7
SHA1: 55fb1432bdf355dc356087f40e24fc862d4f5dd4
MD5sum: 52802b42d119a88fc9b03f6882377f49
Description: server-side, HTML-embedded scripting language (Apache 2 module) (default)
This package provides the PHP module for the Apache 2 webserver.
.
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.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 8.2).
Description-md5:
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/libapache2-mod-php_8.2+93_all.deb