niel / php-yenc

Basic implementation of yEnc specification for in memory encoding/decoding.
5 stars 6 forks source link

Dependancy issue #4

Open pdupreez opened 7 years ago

pdupreez commented 7 years ago

When installing sudo dpkg -i php7.0-yenc_1.3.0_amd64.deb I get:

php7.0-yenc depends on php7.0; however: Package php7.0 is not installed.

test.php gives me:

PHP Version 7.0.15-0ubuntu0.16.04.4

niel commented 7 years ago

Which version of PHP do you have installed? Ubuntu 16.04 has two versions: one that installs to php7 and the other goes to php/7.0. You should be using the latter.

pdupreez commented 7 years ago

php -v gives me:

PHP 7.1.5-1+deb.sury.org~xenial+2 (cli) (built: May 22 2017 12:48:42) ( NTS ). Under /usr/bin I have php, php7.0 and php7.1

I am not sure how to verify the php7 vs php/7.0 mentioned in your post

niel commented 7 years ago

If you're using 7.1 it's no surprise the php7.0-yenc_1.3.0_amd64.deb fails. Use the php7.1-yenc_1.3.0_amd64.deb version.