I’m having a problem connecting the website to the server’s database.
The same database l2c4_lin2db is in hAuthD, in SQL, and also in the website configuration above.
So this part is correct, just like the login, password, etc.
My domain www is pointing to my cPanel, so everything seems fine.
I also executed the database lin2site in SQL, but I don’t understand why the site doesn’t work.
I already tried putting:
$conMethod = 1
$conMethod = 2
$conMethod = 3
$conMethod = 4
None of them works.
When I set it to 2, I get:
This page isn’t working
www.site.com is currently unable to handle this request.
HTTP ERROR 500
And when I set it to 3 or 4, I get:
Failed to connect! #ODBC #DB
Database Config (the code you pasted)
########################################################### ## Database ## ########################################################### # Which connection method will you use? $conMethod = 2; // 1 = MsSQL, 2 = SQLSRV, 3 = ODBC, 4 = PDO-ODBC