• 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

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