![]() |
2013-10-01
, 01:01
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#2
|
![]() |
2013-10-01
, 19:39
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#3
|
I have a N900 laying around and I want to use it as a OwnCloud "server" to store pictures&videos I take with my other portable devices.
For those of you who don't know, OwnCloud is a PHP package that will transform your Apache webserver or any shared hosting account (for example hosting from godaddy) to a Cloud-like platform, with full support for Photo Galleries, multiples users, etc.
More info here: http://owncloud.org/support/setup-an.../linux-server/
I had no problem installing this on my Ubuntu machine and it works great.
I tried to install it on my N900 with lighttpd and php5 but several problems occured.
First, I've used some older lighttpd version for arm, some deb I've found on the internet. It interpreted PHP with no problems (I've tested phpinfo) but when I copied the owncloud files I've got some error like "mhash modules is missing, ctype module is missing".
I've deleted those lighttpd & php packages, and installed those from the extras (which I think are the latest version).
Now I don't get those errors, but I get "No database driver found".
I know on my Ubuntu machine it defaulted to sqlite, so I tried installing manually the sqlite and php5-sqlite packages, restarted the webserver... still the same.
I tried installing mysql-server,mysql-client and php5-mysql, restarted the server. Still the same.
I tried to edit php.ini, pdo_sqlite.ini, sqlite.ini ... Still the same.
Any ideea on how to enable sqlite module?
I don't care if there's a way to do this with Apache or any other server software. As long as OwnCloud works, that's great!