Configuring Generic ODBC on Mac
The Scriptcase automatic installer already comes with the ODBC extension enabled, only needing to install the UnixODBC driver so that the connection can be made successfully.
NOTE: It's necessary to have the brew command installed on your Mac to install the UnixODBC driver.
Run this command only if you don't have the brew command installed on your Mac:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Do the installation of the UnixODBC using the terminal, execute the command below:
brew install unixodbc
Restart apache :
- cd /Applications/NetMake/v81/components/xamppfiles/
- sudo ./xampp restart
Currently Scriptcase offers a driver to connect with ODBC connections: Generic ODBC.
You can see the features below:
Generic ODBC ( Recommended ) : Allows the connection to be made with databases that have support with ODBC Data Source connection, using the native PHP ODBC driver.