•  » Engine
  •  » support of MySQLi

#1 2013-01-29 18:49:33

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

support of MySQLi

MySQL for PHP is deprecated since 5.5.0 and will be removed in favor of MySQLi

I run my dev version of Piwigo with MySQLi since 2 months now, without any problems (I just replaced "mysql_" into "pwg_db_" in some plugins)
I think we can add it by default on Piwigo 2.5

Actually I think it's useless to provide the choice for the end-user : if MySQLi is available on the server we activate it, same thing for an update

I know plg would like to use prepared statements (with a fallback for MySQL), will see later :)

Offline

 

#2 2013-01-29 18:54:58

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13936

Re: support of MySQLi

That's fine for me and beta test on 2.5 will show if there is any problem.

I add that mysqli is provided by default with PHP 5+ and that PHP 5 is a prerequisite to Piwigo 2.4.

Offline

 
  •  » Engine
  •  » support of MySQLi

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact