PDA

View Full Version : Trouble with installing PHP 7.4 on Kali Linux



LinuxNoob69
2021-10-05, 12:40
Hello
Im new to Kali Linux and i wanted to install PHP 7.4 on Kali Linux.
I followed the instructions on this website:
https://computingforgeeks.com/how-to-install-php-on-kali-linux/

But when I follow the instructions I get stuck at the command "sudo apt -y install php7.4" :(

Kali Linux says:
"Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
php7.4 : Depends: libapache2-mod-php7.4 but it is not installable or
php7.4-fpm but it is not installable or
php7.4-cgi but it is not installable
Depends: php7.4-common but it is not installable
E: Unable to correct problems, you have held broken packages."

Please help me!
Keep the explonation simple since Im new to Kali Linux and my english is not the best.
:)