I'm using Apache in remote hosting with cPanel. I need to fetch data from a Firebird database file using PHP, so I enabled "interbase" and "pdo_firebid" modules.
I execute connection to database file code, but it's not working.
$dbh = new PDO('firebird:dbname=localhost:/public_html/users.fdb', 'sysdba', '123');
This is not working and this error appears in log:
Failed to connect to the Firebird database: SQLSTATE[HY000] [335544721] Unable to complete network request to host "localhost".