• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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