I am busy setting up my ec2 for my website. I am using the Ubuntu 18.04 AMI(Amazon Machine Image).I need to run these commands:
sudo apt-get install php7.0 php7.0-mcrypt php7.0-mysql mysql-server
apache2
But when I try to execute the installation I receive these errors:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php7.0-remctl' for regex 'php7.0'
Note, selecting 'php7.0-common' for regex 'php7.0'
Note, selecting 'php-remctl' instead of 'php7.0-remctl'
E: Unable to locate package libapache2-mod-php7.0
E: Couldn't find any package by glob 'libapache2-mod-php7.0'
E: Couldn't find any package by regex 'libapache2-mod-php7.0'
E: Unable to locate package php7.0-mysql
E: Couldn't find any package by glob 'php7.0-mysql'
E: Couldn't find any package by regex 'php7.0-mysql'
I am running these commands through MobaXterm on Windows 10. Any ideas what I'm doing wrong??