• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

How to activate mysqli?

N

Nuno Mendes

Guest
Hi,

I'm having some trouble trying to activate mysqli in PHP5.

a) I uncommented the extension=php_mysqli.dll line in C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5\php.ini

b) added C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5 (where the libmysql.dll is) to the system path

c) restarted the server.

d) msqli still no active.

Am I missing anything?

Thanks
Nuno Mendes
 
Hi,

Try to replace libmysql.dll in %systemroot%\system32 folder with one from %plesk_dir%\additional\pleskphp5(save the old library just in case ).

Also you can try to switch php from cgi to isapi on your site.
 
Hi Bender,

Replaced the libmysqli.lib in %systemroot%\system32 folder with the one from %plesk_dir%\additional\pleskphp5 as you suggested and it solved the problem (I was already running php as isapi).

Thanks for the help!

Nuno Mendes

Hi,

Try to replace libmysql.dll in %systemroot%\system32 folder with one from %plesk_dir%\additional\pleskphp5(save the old library just in case ).

Also you can try to switch php from cgi to isapi on your site.
 
Back
Top