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– Bex2017年08月22日 07:45:06 +00:00Commented 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?NotCras– NotCras2017年08月22日 21:01:40 +00:00Commented 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.Bex– Bex2017年08月23日 05:03:53 +00:00Commented 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. "tgraphic– tgraphic2017年09月06日 01:54:47 +00:00Commented Sep 6, 2017 at 1:54
1 Answer 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/
Explore related questions
See similar questions with these tags.