Can't use php extension

Ask all your questions regarding OC 6.x Please read the Support Forum Rules
Forum rules
ownCloud 6.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
Posts: 1
Joined: Sun May 25, 2014 8:31 pm
ownCloud version: 6.0.3
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.5

Can't use php extension

Postby michaudg » Sun May 25, 2014 8:42 pm

I'm trying to use php extension with ownCloud 6.0.3 but i receive this message :

No database drivers (sqlite, mysql, or postgresql) installed.

I see in lib/private/util.php that ownCloud only check for mysql extension but not for mysqli or for pdo_mysql :
and !is_callable('mysql_connect')

If i add and !is_callable('mysqli_connect'), it works but i'm not sure that ownCloud will like that.

If i uncomment ; in php.ini, all works correctly.
I'm i doing something wrong? Do ownCloud support mysqli driver?

Thank you.

NGINX 1.6.0
PHP 5.5.12
ownCloud 6.0.3

ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Can't use php extension

Postby RealRancor » Sun May 25, 2014 9:20 pm


according to: ... ql-connect

mysql_connect and mysqli_connect are not interchangeable so you can't use mysqli_connect. However you could request this as a feature at the bugtracker like described here:


  • Similar Topics
    Last post

Return to “ownCloud Community Edition 6.x”

Who is online

Users browsing this forum: No registered users and 3 guests