How to Install and Uninstall php Package on Kali Linux

Last updated: May 20,2024

1. Install "php" package

Learn how to install php on Kali Linux

$ sudo apt update $ sudo apt install php

2. Uninstall "php" package

In this section, we are going to explain the necessary steps to uninstall php on Kali Linux:

$ sudo apt remove php $ sudo apt autoclean && sudo apt autoremove

3. Information about the php package on Kali Linux

Package: php
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 10
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php8.2
Size: 3628
SHA256: bed3564e74fbddb87d80c56f2b9b6f6be35b6519a80f1819257b2e3cdeb56057
SHA1: 9ccd875f919fb915ae91adb2e1cfbb73d2f514bd
MD5sum: f44a171e582055f5fdb390c88a77065a
Description: server-side, HTML-embedded scripting language (default)
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/php_8.2+93_all.deb