• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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