Good morning, I have the following problem: I have installed the version of Xampp 3.2.2
for apache 5.6.38
, in the file php.ini
I added the extensions
extension=php_sqlsrv_56_ts.dll
extension=php_pdo_sqlsrv_56_ts.dll
and in the folder c:\xampp\php\ext
are indeed the files
php_sqlsrv_56_ts.dll
php_pdo_sqlsrv_56_ts.dll
I also made sure that php.ini
is well configured where I have my dlls
extension_dir="C:\xampp\php\ext"
Now, I generated a php file to execute the following
print_r(PDO::getAvailableDrivers());
phpinfo();
When loading the php page with those lines, the driver detects me
Array
(
[0] => sqlsrv
)
The problem is that phpinfo, only shows me information about the php_pdo_sqlsrv_56_ts
in the PDO section, but nothing appears regarding php_sqlsrv_56_ts;
with the others drivers that I put if you show me info, such as curl, sqlite or mysql.
I tried other versions of sql drivers and did not even detect the PDO, and verified that the driver version is correct for php 5.6.38.
Despite detecting the PDO when I want to use a SQL DB connection, I get the following error: Fatal error: Call to undefined function mssql_connect ()
Any idea what may be happening ???