Is it possible to access an MS-Access database using PHP on a Linux server without MySQL support?

To access an MS-Access database using PHP on a Linux server without MySQL support, you can use the ODBC (Open Database Connectivity) extension in PHP. You will need to set up an ODBC connection to the MS-Access database on the Linux server and then use PHP's ODBC functions to query and interact with the database.

// Set up ODBC connection to MS-Access database
$dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=/path/to/your/database.mdb";
$conn = odbc_connect($dsn, '', '');

// Query the database
$query = "SELECT * FROM your_table";
$result = odbc_exec($conn, $query);

// Fetch and display results
while ($row = odbc_fetch_array($result)) {
    print_r($row);
}

// Close ODBC connection
odbc_close($conn);