• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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