• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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