• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Installation Debian 9.2 PHP Problem

Favst

New Member
Joined
Jan 26, 2023
Messages
13
Reaction score
1
Hello, I have a problem with installing php on debian 9.2, I get an error during installation apt install php5.6 Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'php5.6-json' for regex 'php5.6' Note, selecting 'php5.6-common' for regex 'php5.6' how to fix it can anyone help?
 
Solution
how to fix it can anyone help?
PHP version on Debian 9.2 is 7.0, not 5.6, so you got to type:
Code:
apt install php7.0
If you really need 5.6, you got to follow one of tutorials about installing different - that official for given distribution - PHP version on Linux.
Anyway, Debian 9 is not supported anymore (since june 2022) - it's too old - and you may have problems getting packages for it.
Probably only way to install PHP 5.6 will be to download source code of PHP 5.6 and compile it.
how to fix it can anyone help?
PHP version on Debian 9.2 is 7.0, not 5.6, so you got to type:
Code:
apt install php7.0
If you really need 5.6, you got to follow one of tutorials about installing different - that official for given distribution - PHP version on Linux.
Anyway, Debian 9 is not supported anymore (since june 2022) - it's too old - and you may have problems getting packages for it.
Probably only way to install PHP 5.6 will be to download source code of PHP 5.6 and compile it.
 
Solution
Back
Top