LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-27-2018, 06:14 AM   #1
andyhoyland
LQ Newbie
 
Registered: May 2017
Location: UK
Distribution: Ubuntu 16.04
Posts: 8

Rep: Reputation: Disabled
PHP7.0-zip has no installation candidate


Hi all.

Firstly - sorry if this is posted in the wrong forum!
Secondly - I've searched to no avail.
Thirdly - I'll give what information I can but please do ask for more if I should provide it!

Ok - on with it.

I am currently running a LAMP stack with ubuntu0.16.04.1

I've had some issues with OwnCloud on it, but I don't think they are OwnCloud specific. Basically, I am being shown an OwnCloud error message saying "PHP module zip not installed". To check this I created a phpinfo page and check, and low and behold zip is indeed not installed.

"Easily solved" I think, so I go to terminal and go with
Code:
apt-get update
apt-get upgrade
apt-get install php7.0-zip
Which leads to this:

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php7.0-zip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php7.0-zip' has no installation candidate
I've been through a few things here - checked the packages, and recreated my sources.list but to no avail.

Is anyone able to troubleshoot from that little information, or at least suggest what I Google next?!

As I type this I realise it may not be a Linux issue... so again, if I'm off the game I am sorry, please be gentle!

Happy days.
Andy
 
Old 02-27-2018, 09:43 AM   #2
andyhoyland
LQ Newbie
 
Registered: May 2017
Location: UK
Distribution: Ubuntu 16.04
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hello again.

I have been tinkering and sorted this out by upgrading to php7.1 instead of php7.0 and have no been enable to make php zip work. I don't really know beyond the upgrade from 7.0 to 7.1 what happened, so I am non the wiser as to what I had broken in the first place! If anyone knows then please do educate me, but for now I'm able to get back to breaking OwnCloud...

Such fun!
Andy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Php7 ZTS Installation Error: Broken Packages omci Linux - Software 1 07-06-2017 02:34 AM
[SOLVED] Php7 Installation with Php5 on Ubuntu mahi_nix Linux - Server 3 02-12-2016 01:28 AM
E: package synaptic has no installation candidate A7med455 Debian 6 10-23-2010 07:09 AM
[SOLVED] apt-get: E: Package 'discover1' has no installation candidate Kenny_Strawn Ubuntu 3 08-27-2010 11:28 AM
php7 + apache2 installation problems Misha Ubuntu 4 05-23-2007 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration