Site icon TestingDocs.com

Enable MySQL extensions in PHP.ini

Introduction

On this page, we will learn to enable MySQL extensions in php.ini for the TestLink application. If we are configuring and installing the TestLink application manually, we need to enable MySQL in the PHP configuration.

Error Indication

Warning! Your PHP installation don’t have the MySQL extension mysql- without it is impossible to use TestLink.

 

 

php.ini setting

We can enable the MySQL modules in the php.ini configuration file. Locate the configuration file on the machine hard disk.

Open the file with an editor.

Enable or add the following configuration parameters to the file.

extension=mysqli
extension=pdo_mysql

 

MySQL extensions are .dll files on the Windows environment that are located in the ext folder of the PHP installation directory. We need to make sure to set the extension_dir directive to reflect the changes.

For example:

; On windows:
extension_dir = "c:\php\ext"
Exit mobile version