View Issue Details

IDProjectCategoryView StatusLast Update
0007743Kali LinuxKali Package Improvementpublic2022-06-09 14:45
Reporterygh.aiming Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionreopened 
Product Versionkali-dev 
Summary0007743: Unable to install old PHP extension tool php-mysql7.0.0
Description

Dear Mr/Mrs

1.The following command to install php7.0 did not succeed
┌──(root�VM-0-4-debian)-[/home]
└─# apt-get install php7.0

┌──(root�VM-0-4-debian)-[/home]
└─# apt-get install php7.0-curl

Finally upload tar.gz for installation, the command used is make install the installation is successful
┌──(root�VM-0-4-debian)-[/home]
└─# php -v
PHP 7.0.0 (cli) (built: Jun 8 2022 22:13:50) ( NTS )

2.How to make kali (debian 10.3) install the old PHP extension tool php-mysql7.0.0;
I tried to install the php extension tools using the following command and it failed
┌──(root�VM-0-4-debian)-[/home]
└─# apt-get install php7.0-mysql

┌──(root�VM-0-4-debian)-[/home]
└─# apt-get install php-mysql7.0 100 ⨯

Thank you!

Attached Files
php-mysql not install.jpg (63,387 bytes)   
php-mysql not install.jpg (63,387 bytes)   
php-mysql not install 1.jpg (107,627 bytes)   
php-mysql not install 1.jpg (107,627 bytes)   
php-mysql not install 2.jpg (62,629 bytes)   
php-mysql not install 2.jpg (62,629 bytes)   
not support php8.0.png (24,492 bytes)   
not support php8.0.png (24,492 bytes)   

Activities

daniruiz

daniruiz

2022-06-09 07:31

manager   ~0016242

Thank you for your interest in Kali but this is not a bug report. It looks like that you need help and guidance to perform some task. We have community support forums on https://forums.kali.org/ or on IRC with the #kali-linux channel on irc.oftc.net), please post your questions there.

If you want to install php and php-mysql you need to first update apt cache: sudo apt update
and then install the main packages: sudo apt install php php-mysql
Don't install them with the versioned names (example php7.0) as you are using an old package that is no longer in the repositories. The package php and php-mysql will already install the latest versions (currently php8.1).

You can use apt search ... to find available packages

ygh.aiming

ygh.aiming

2022-06-09 08:06

reporter   ~0016243

Dear Mr/Mrs
apt-get install php and php-mysql packages have the latest version installed (currently php8.1). But it doesn't suit my needs. So I installed the old php7.0.0-mysql extension tool.

Thanks!

daniruiz

daniruiz

2022-06-09 09:01

manager   ~0016244

php7 is no longer supported in the kali repos, so this is not a bug

ygh.aiming

ygh.aiming

2022-06-09 09:17

reporter   ~0016245

Dear Mr/Mrs
But I successfully installed PHP7.0.0 version, please see the screenshot below. Can you tell me why PHP7.0.0-mysql cannot be installed?

Thanks!

php -v.jpg (19,267 bytes)   
php -v.jpg (19,267 bytes)   
daniruiz

daniruiz

2022-06-09 09:22

manager   ~0016246

I don't know how you installed php7.0, it was removed from the repositories in 2018
Why not use php8 instead?

image.png (227,446 bytes)   
image.png (227,446 bytes)   
ygh.aiming

ygh.aiming

2022-06-09 13:29

reporter   ~0016247

Dear Mr/Mrs

Feel sorry. It does not support php8.0, is there any version 5.5--7.7 of PHP

Thank you!

daniruiz

daniruiz

2022-06-09 14:45

manager   ~0016248

Sorry but we don't support php 7, even if you try to install it manually it's going to fail.
PHP8 is compatible with php7 so no idea why it says it needs php 7

Issue History

Date Modified Username Field Change
2022-06-09 04:30 ygh.aiming New Issue
2022-06-09 04:30 ygh.aiming File Added: php-mysql not install.jpg
2022-06-09 04:30 ygh.aiming File Added: php-mysql not install 1.jpg
2022-06-09 04:30 ygh.aiming File Added: php-mysql not install 2.jpg
2022-06-09 07:31 daniruiz Note Added: 0016242
2022-06-09 07:31 daniruiz Assigned To => daniruiz
2022-06-09 07:31 daniruiz Status new => closed
2022-06-09 07:31 daniruiz Resolution open => no change required
2022-06-09 08:06 ygh.aiming Status closed => feedback
2022-06-09 08:06 ygh.aiming Resolution no change required => reopened
2022-06-09 08:06 ygh.aiming Note Added: 0016243
2022-06-09 09:01 daniruiz Note Added: 0016244
2022-06-09 09:01 daniruiz Status feedback => closed
2022-06-09 09:17 ygh.aiming Status closed => feedback
2022-06-09 09:17 ygh.aiming File Added: php -v.jpg
2022-06-09 09:17 ygh.aiming Note Added: 0016245
2022-06-09 09:17 ygh.aiming Status feedback => assigned
2022-06-09 09:17 daniruiz Status assigned => closed
2022-06-09 09:22 daniruiz File Added: image.png
2022-06-09 09:22 daniruiz Note Added: 0016246
2022-06-09 13:29 ygh.aiming Status closed => feedback
2022-06-09 13:29 ygh.aiming Note Added: 0016247
2022-06-09 13:29 ygh.aiming File Added: not support php8.0.png
2022-06-09 14:42 daniruiz Status feedback => closed
2022-06-09 14:45 daniruiz Note Added: 0016248