-
Notifications
You must be signed in to change notification settings - Fork 4
Deploy Ref. DB Drivers mysql driver transition.
Nathan Gibbs edited this page May 28, 2023
·
1 revision
Although BASE supports the seamless transition from the older mysql
PHP DB driver to the newer mysqli
driver, this transition isn't seamless if the underlying PHP DB drivers are not available.
-
On Unix like systems, the required DB driver extensions would:
- If building from source, need to be compiled into PHP.
- If using vendor supplied PHP, be built into PHP or made available in vendor provided distribution specific packages.
-
On Windows installations of PHP, the DB driver extensions are activated in the php.ini file.
- For instance, to use the
mysqli
DB driver, one would have to enable the extension in the php.ini configuration file.
- For instance, to use the
On PHP 5.5+, but less than 7x. It is possible enable both mysql
and mysqli
DB drivers and run legacy versions of BASE alongside newer versions.
This works as long the PHP DB drivers are available to BASE, more specifically, available for use by the underlying ADOdb library.