I'm trying to upgrade my google cloud compute instance with the latest version of php.
It is currently is running debian9/php5/apache2/mysql14 and I want to get it to php7.
I've tried all the simple apt-get update upgrade install php7 etc and no packages are found.
E: Unable to locate package php7.0
E: Couldn't find any package by regex 'php7.0'
E: Unable to locate package 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 regex 'php7.0-mysql'
E: Unable to locate package php-common
E: Unable to locate package php7.0-cli
E: Couldn't find any package by regex 'php7.0-cli'
E: Unable to locate package php7.0-common
E: Couldn't find any package by regex 'php7.0-common'
E: Unable to locate package php7.0-json
E: Couldn't find any package by regex 'php7.0-json'
E: Unable to locate package php7.0-opcache
E: Couldn't find any package by regex 'php7.0-opcache'
E: Unable to locate package php7.0-readline
E: Couldn't find any package by regex 'php7.0-readline'
I've also tried 7.1 and 7.2 and same thing. Ideally the latest version of php but I'll take anything at this point.
Thanks for any help!
p.s. this will primarily run WordPress sites.