Home > Backend Development > PHP Tutorial > sqlserver - xampp cannot find the php5.ini file, how to solve it?

sqlserver - xampp cannot find the php5.ini file, how to solve it?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-03-03 08:04:01
Original
1498 people have browsed it

1. Add two extension files connected to sqlserver in xampp's ext, php_sqlsrv_56_ts.dll and php_sqlsrv_56_nts.dll, and then add two sentences in the php.ini file, as shown in the figure

sqlserver - xampp cannot find the php5.ini file, how to solve it?

2.xampp will report an error, as shown in the picture

sqlserver - xampp cannot find the php5.ini file, how to solve it?

3. How should I solve this problem. Thanks in advance.

Reply content:

1. Add two extension files connected to sqlserver in xampp's ext, php_sqlsrv_56_ts.dll and php_sqlsrv_56_nts.dll, and then add two sentences in the php.ini file, as shown in the figure

sqlserver - xampp cannot find the php5.ini file, how to solve it?

2.xampp will report an error, as shown in the picture

sqlserver - xampp cannot find the php5.ini file, how to solve it?

3. How should I solve this problem. Thanks in advance.

The problem is because the sql server extension file I added in the PHP extension is not thread-safe and the added file is incorrect.

sqlserver - xampp cannot find the php5.ini file, how to solve it?

The configuration file added in my question is incorrect, which leads to this problem

After searching online, the php5.dll file is missing. You can download the php5.dll file and put it in the corresponding directory.

php5.dll file download

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Problem with tp6 connecting to sqlserver database
From 1970-01-01 08:00:00
0
0
0
Unable to connect to SQL Server in Laravel
From 1970-01-01 08:00:00
0
0
0
Methods of parsing MYD, MYI, and FRM files
From 1970-01-01 08:00:00
0
0
0
SQLSTATE: User login failed
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template