• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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