• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

mysqli installation issues

B

BrianHenk

Guest
Hello,

I have been attempting to get mysqli working with PHP 5 on Plesk 8.2 for Windows. I have the php_mysqli.dll library in ext, which is set in the php.ini to be the extension directory and libmysql.dll is present in the root PHP directory. That root directory is C:\Program Files (x86)\SWsoft\Plesk\Additional\PleskPHP5

This directory is present on the system path. As an extra measure, libmysql.dll and php_mysqli.dll are present in the system directory.

The line in php.ini that loads the module is uncommented.

I have restarted the system in this configuration, but still no mysqli. Any ideas?
 
MySQLi is not enabled by default, so the php_mysqli.dll DLL must be enabled inside of php.ini. Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH. See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the system's PATH), it's not recommended.

http://ru2.php.net/mysqli
 
Back
Top