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 ⨯
I know that the 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.
Thank you!