back to Netrunner | back to Blue Systems

php doesn't install

Hello
Just after installing Netrunner 16.09 Desktop I’ve tried to install php on my OS, but all my efforts were hopeless

sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

doesn’t work.

Output always the same:

E: Package ‘php’ has no installation candidate

E: Package ‘libapache2-mod-php’ has no installation candidate
E: Package ‘php-mysql’ has no installation candidate

Netrunner Desktop 16.09 is Debian Jessie based.

sudo apt-get install php5 libapache2-mod-php5 php5-mysql

I am using core 17.01. I tried the above code but gives “no installation candidate”. Is php 5.6 obsolete?

I also tried dotdeb by adding “deb http://packages.dotdeb.org jessie all”, didn’t work.

You can start a search for php. I am not entirely sure if netrunner core 17.01 is still jessie based. Might be stretch already. So for stretch the package is called php7.0 and is indeed version 7. Version 5 seems to be not available there.

Thanks. I did search and tried different solutions. As well as experimented with Debian 8 (Jessie) in VirtualBox which works well with php 5.6. In stretch not available. Netrunner 17.01 is stretch based.