4

I'm trying to get owncloud running on a Raspberry Pi 3 to run as a local file server. I'm following some tutorials that are running me through setting up mysql for owncloud, and MySQL installed fine for the most part. I run into an error when trying to install the package php5-mysql:

The following packages have unmet dependencies: 
php5-mysql : Depends: libmysqlclient18 but it is not installable
E: Unable to correct problems, you have held broken packages

This piece is crucial to link MySQL to owncloud, so I can't go farther without this. Raspbian Stretch is installed. I don't know how to proceed and have very little database/MySQL/Apache experience.

Aurora0001
6,3773 gold badges25 silver badges39 bronze badges
asked Aug 22, 2017 at 5:49
4
  • Possible duplicate of raspberrypi.stackexchange.com/questions/71473/… Commented Aug 22, 2017 at 7:45
  • checked, and none of solutions from attached question work. Should this get marked as duplicate? I don't know how I can help on other question since I can't comment. thoughts? Commented Aug 22, 2017 at 21:01
  • If there is no answer that solves your problem, then it should not be marked as duplicate, but you might want to watch the other question as well, in case a helpful answer appears. Commented Aug 23, 2017 at 5:03
  • I found an answer here: raspberrypi.stackexchange.com/questions/71473/… "I managed to install with: sudo apt-get install php-mysql It appears that PHP 7 packages are then installed instead of the 5 version. " Commented Sep 6, 2017 at 1:54

1 Answer 1

2

php5-mysql is available in the previous version Jessie and NOT in Stretch.

But Owncloud should be able to use php7 (php-mysql)!

Ref.: https://owncloud.org/blog/php-7-is-here-and-owncloud-is-ready/

answered Sep 7, 2017 at 22:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.