• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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