error when try to setup site flyff by Xampp

Status
Not open for further replies.
Newbie Spellweaver
Joined
Mar 7, 2021
Messages
10
Reaction score
1
Hello!

i tried to setup Site flyff by useing Xampp but when i configration all thing to make a connection to sql i saw this error when i try to open site .
Error :
Fatal error: Uncaught Error: Call to undefined function odbc_connect() in C:\xampp\htdocs\includes\xinc_config.php:18 Stack trace: #0 C:\xampp\htdocs\index.php(4): require_once() #1 {main} thrown in C:\xampp\htdocs\includes\xinc_config.php on line 18

i maked sure all info for connection its correct.
 
Make sure the SQL Driver for PHP is installed and that you enable both odbc extensions in php.ini
 
Make sure the SQL Driver for PHP is installed and that you enable both odbc extensions in php.ini
yes i installed it and add this on php.ini
extension=php_pdo_sqlsrv_80_ts_x64.dllextension=php_sqlsrv_80_ts_x64.dll
 
odbc_connect < is a sign that ODBC is not enabled in php.ini.

There are 2 instances of it and both need to be enabled and apache rebooted.
 
odbc_connect < is a sign that ODBC is not enabled in php.ini.

There are 2 instances of it and both need to be enabled and apache rebooted.
i tried this also in Laragon its get the same problem

Fatal error: Uncaught Error: Call to undefined function odbc_connect() in C:\laragon\www\includes\xinc_config.php:17 Stack trace: #0 C:\laragon\www\index.php(4): require_once() #1 {main} thrown in C:\laragon\www\includes\xinc_config.php on line 17
hossamx - error when try to setup site flyff by Xampp - RaGEZONE Forums
hossamx - error when try to setup site flyff by Xampp - RaGEZONE Forums
hossamx - error when try to setup site flyff by Xampp - RaGEZONE Forums
 
 

It's because ODBC is not enabled like I said and it shows in your php.ini.

Make these two:
Code:
;extension=odbc
;extension=pdo_odbc

Look like:
Code:
extension=odbc
extension=pdo_odbc

Save and then restart apache.
 
this is my php.in
 
Status
Not open for further replies.
Back