3

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.

  • Possible duplicate of raspberrypi.stackexchange.com/questions/71473/… – Bex Aug 22 '17 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? – NotCras Aug 22 '17 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. – Bex Aug 23 '17 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. " – tgraphic Sep 6 '17 at 1:54
1

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/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.