I can't install PHP on my raspberry pi. I did sudo apt-get install php libapache2-mod-php php-mcrypt and then showed me this:
Reading state information... Done
E: Unable to locate package php
E: Unable to locate package libapache2-mod-php
E: Unable to locate package php-mcrypt
On my sources.list I got this:
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
I don't know what to do
apache2-mod-php5
. But you should really upgrade from Jessie to Stretch and install php7.php-crypt
is deprecated and removed from php7.1.