I'm now using PHP 5.4 on my Debian 7 Wheezy server. For the newest Laravel version I have to update to PHP 7.0.
So I followed a small tutorial on how to update my PHP version. I have to use a PPA because the PHP7.0 isn't officialy released yet.
I did the following steps:
Adding the PPA
add-apt-repository ppa:ondrej/php
Updating all the packages:
apt-get update && apt-get upgrade
Installing the package
apt-get install php7.0
But now I get the following error:
Unable to locate package php7.0
Couldn't find any package by regex: 'php7.0'
I have no idea what goes wrong and I've spend some hours trying solutions I found on internet but nothing works.
Does someone know a solution or an alternative to install PHP 7 on Debian?
This is a ppa for Ubuntu, therefore it may be not be compatitble with Debian as these packages are built for specific Ubuntu's version.
You can view list of available packages inside this ppa herE https://launchpad.net/~ondrej/+archive/ubuntu/php
As you can see, there's no php7.0 package build for debian, it's just Ubuntu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With