Can't use mysqli.so 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.
michaudg
Newbie
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 mysqli.so php extension

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

I'm trying to use mysqli.so 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 ;extension=mysql.so in php.ini, all works correctly.
I'm i doing something wrong? Do ownCloud support mysqli driver?

Thank you.

ArchLinux
NGINX 1.6.0
PHP 5.5.12
ownCloud 6.0.3

RealRancor
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 mysqli.so php extension

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

Hi,

according to:

https://stackoverflow.com/questions/639 ... 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:

viewtopic.php?f=17&t=20687
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 6.x”

Who is online

Users browsing this forum: No registered users and 3 guests