Enabling Azure MariaDB PDO
In the Scriptcase, we have the following driver available for connection to MariaDB: MariaDB PDO. If you are using your own pre-configured environment, MariaDB extension must be enabled manually in PHP.
Configuring and enabling the MariaDB PDO
IMPORTANT: If you are using Scriptcase’s automatic installer, the extensions are already enabled in PHP, ready for connection. The procedure below is only for manual installations of Scriptcase.
1 - In the php.ini
file, located in C:\php
, look for a line referring to MariaDB extension: pdo_mysql and remove the ;
from the beginning of the line for the extension to be used by PHP. See the example below:
extension=pdo_mysql
2 - Restart the Apache service using the Task Manager.
-
Open the Task Manager and click on the Services tab.
-
Look for the
ApacheScriptcase9php81
orApache2.4
service and right click on this service, then Restart.
Connection with Scriptcase
Check below which Driver you want to connect to.
- MariaDB PDO: Click here
Doubts about connection? Get in contact with our support in case of connection problems or questions regarding this database.