• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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